mne_hfo.sklearn.DisabledCV#

class mne_hfo.sklearn.DisabledCV[source]#

Dummy CV class for SearchCV scikit-learn functions.

Methods

get_n_splits(X, y[, groups])

Disabled split.

split(X, y[, groups])

Disabled split.

get_n_splits(X, y, groups=None)[source]#

Disabled split.

Parameters:
Xnp.ndarray

Not used.

ynp.ndarray

Not used.

groupsnp.ndarray, optional

Not used.

Returns:
n_splitsint

The number of splits.

split(X, y, groups=None)[source]#

Disabled split.

Parameters:
Xnp.ndarray

Not used.

ynp.ndarray

Not used.

groupsnp.ndarray, optional

Not used.