- Fixed default
CCA
intransformers
toinv
, notpinv
- Added
pinv
toutilities
- Added
alpha_x
toCCA
intranformers
- Added
alpha_y
toCCA
intranformers
- Added
alpha_x
toeCCA
inclassifiers
- Added
alpha_t
toeCCA
inclassifiers
- Added
alpha_x
torCCA
inclassifiers
- Added
alpha_m
torCCA
inclassifiers
- Added
squeeze_components
torCCA
,eCCA
,eTRCA
in `classifiers'
- Changed
numpy
typing ofnp.ndarray
toNDArray
- Changed
cca_
andtrca_
attributes to belist
always ineCCA
,rCCA
andeTRCA
- Changed
scipy.linalg.inv
topyntbci.utilities.pinv
inCCA
oftransformers
- Changed
decision_function
andpredict
ofclassifiers
to return without additional dimension for components ifn_components=1
andsqueeze_components=True
, both of which are defaults
- Fixed components bug in
decision_function
ofeCCA
inclassifiers
- Added
cov_estimator_t
toeCCA
inclassifiers
- Changed separate covariance estimators for data and templates in
eCCA
ofclassifiers
- Fixed zero division
eventplot
inplotting
- Fixed event order duration event
event_matrix
inutilities
- Removed
gating
ofrCCA
inclassifiers
- Removed
_score
methods inclassifiers
- Added
n_components
ineCCA
inclassifiers
- Added
n_components
ineTRCA
inclassifiers
- Changed "bes" to "bds" in
BayesStopping
instopping
in line with publication - Changed
lx
andly
togamma_x
andgamma_y
iofeCCA
inclassifiers
- Changed
gating
togates
- Changed
TRCA
intransformers
to deal with one-class data only - Changed
_get_T
toget_T
in allclassifiers
- Changed
lx
ofrCCA
inclassifiers
togamma_x
, which ranges between 0-1, such that the parameter represents shrinkage regularization - Changed
ly
ofrCCA
inclassifiers
togamma_m
, which ranges between 0-1, such that the parameter represents shrinkage regularization - Changed
lx
ofCCA
intransformers
togamma_x
, which ranges between 0-1, such that the parameter represents shrinkage regularization - Changed
ly
ofCCA
intransformers
togamma_y
, which ranges between 0-1, such that the parameter represents shrinkage regularization
- Added
envelope
module containingenvelope_gammatone
andenvelope_rms
functions - Added
CriterionStopping
tostopping
for some static stopping methods
- Changed default value of
encoding_length
inrCCA
ofclassifiers
of 0.3 to None, which is equivalent to 1 / fs
- Fixed variable
fs
of type np.ndarray instead of int in examples, tutorials, and pipelines - Fixed double call to
decoding_matrix
infit
ofrCCA
inclassifiers
- Added
set_stimulus_amplitudes
forrCCA
inclassifiers
- Fixed dependency between
stimulus
andamplitudes
inrCCA
ofclassifiers
- Added variable
decoding_length
ofrCCA
inclassifier
controlling the length of a learned spectral filter - Added variable
decoding_stride
ofrCCA
inclassifier
controlling the stride of a learned spectral filter - Added function
decoding_matrix
inutilities
to phase-shit the EEG data maintaining channel-prime ordering - Added variable
encoding_stride
ofrCCA
inclassifier
controlling the stride of a learned temporal response - Added module
gating
with gating functions, for instance for multi-component or filterbank analysis - Added variable
gating
ofrCCA
inclassifier
to deal with multiple CCA components - Added variable
gating
ofEnsemble
inclassifier
, for example to deal with a filterbank
- Changed variable
codes
ofrCCA
inclassifiers
tostimulus
- Changed variable
transient_size
ofrCCA
inclassifiers
toencoding_length
- Changed class
FilterBank
inclassifiers
toEnsemble
- Changed function
structure_matrix
inutilities
toencoding_matrix
- Fixed several documentation issues
- Added function
eventplot
inplotting
to visualize an event matrix - Added variable
running
ofcovariance
inutilities
to do incremental running covariance updates - Added variable
running
ofCCA
intransformers
to use a running covariance for CCA - Added variable
cov_estimator_x
andcov_estimator_m
ofrCCA
inclassifiers
to change the covariance estimator - Added event definitions "on", "off" and "onoff" for
event_matrix
inutilities
- Changed the CCA optimization to contain separate computations for Cxx, Cyy and Cxy
- Changed the CCA to allow separate BaseEstimators for Cxx and Cyy
- Fixed zero-division in
itr
inutilities
- Added CCA cumulative/incremental average and covariance
- Added
amplitudes
(e.g. envelopes) instructure_matrix
ofutilities
- Added
max_time
to classes instopping
to allow a maximum stopping time for stopping methods - Added brainamp64.loc to capfiles
- Added plt.show() in all examples
- Changed example pipelines to include more examples and explanation
- Changed tutorial pipelines to include more examples and explanation
- Fixed several documentation issues
- Added class
TRCA
totransformers
- Added class
eTRCA
toclassifiers
- Added parameter
ensemble
to classes inclassifiers
to allow a separate spatial filter per class
- Changed package name from PyNT to PyntBCI to avoid clash with existing pynt library
- Changed filter order in
filterbank
ofutilities
to be optimized given input parameters
- Fixed issue in
rCCA
ofclassifiers
causing novel events in structure matrix when "cutting cycles" - Fixed
correlation
to not contain mutable input variables
- Added
tests
- Added tutorials
- Changed
rCCA
to work with non-binary events instead of binary only
- Added dynamic stopping: classes
MarginStopping
,BetaStopping
, andBayesStopping
in modulestopping
- Added value inner for variable
score_metric
in 'classifiers'
- Changed all data shapes from (channels, samples, trials) to (trials, channels, samples)
- Changed all codes shapes from (samples, classes) to (classes, samples)
- Changed all decision functions to similarity, not distance (e.g., Euclidean), to always maximize
- Fixed zero-mean templates in
eCCA
andrCCA
ofclassifiers
- Added
Filterbank
toclassifiers
- Changed classifiers all have
predict
anddecision_function
methods inclassifiers
- Changed CCA method from sklearn to custom covariance method
- Added
eCCA
template metrics: average, median, OCSVM - Added
eCCA
spatial filter options: all channels or subset
- Added
CCA
intransformers
- Added
rCCA
inclassifiers
- Added
eCCA
inclassifier