SplitEEGData#

class dpeeg.SplitEEGData(train: EEGData, test: EEGData, strict: bool = True)[source]#

Split eegdata.

The eegdata has been split into training and test sets. A dict of data is maintained internally.

Parameters:
  • train (EEGData) – Training set data.

  • test (EEGData) – Test set data.

  • strict (bool) – The training and test sets edata are required to have the same shape.

Methods

copy

Creates a deep copy of the current object.

trials

Returns the number of trials for training and testing data respectively.

trials() tuple[int, int][source]#

Returns the number of trials for training and testing data respectively.