obob_mne.decoding.GeneralizedTemporalAverage¶
-
class
obob_mne.decoding.GeneralizedTemporalAverage(data_list)[source]¶ Create average instance of Temporal Generalization results.
Given a list of Temporal Generalization Results, this class computes the average of their weights and returns an instance of
GeneralizedTemporalArrayso you can plot the average scores and weights.Parameters: data_list (iterable of GeneralizedTemporalArray) – A list (or any other iterable) ofGeneralizedTemporalArrayMethods
__init__(data_list)diagonal_as_temporal()Return the non-generalized results. get_temporal_from_training_interval(tmin, tmax)Average the scores of a training interval. plot_scores([axes, show, cmap, colorbar, …])Plot the scores as a Matrix. Attributes
chance_levelfloat – The chance level of the classifier. infoMeasurement infomust_be_equalnaveint – Number of epochs in the training set. nave_testingint – Number of epochs in the testing set. scoresnumpy.ndarray– The scores of the classificationtminfloat – tmin weightsnumpy.ndarray– The classifier weights