mne.decoding.
GeneralizingEstimator
(base_estimator, scoring=None, n_jobs=1, verbose=None)[source]¶Generalization Light.
Fit a search-light along the last dimension and use them to apply a systematic cross-tasks generalization.
Parameters: |
|
---|---|
Attributes: |
|
Methods
__hash__ ($self, /) |
Return hash(self). |
decision_function (X) |
Estimate distances of each data slice to all hyperplanes. |
fit (X, y, **fit_params) |
Fit a series of independent estimators to the dataset. |
fit_transform (X, y, **fit_params) |
Fit and transform a series of independent estimators to the dataset. |
get_params ([deep]) |
Get parameters for this estimator. |
predict (X) |
Predict each data slice with all possible estimators. |
predict_proba (X) |
Estimate probabilistic estimates of each data slice with all possible estimators. |
score (X, y) |
Score each of the estimators on the tested dimensions. |
set_params (**params) |
Set the parameters of this estimator. |
transform (X) |
Transform each data slice with all possible estimators. |
__hash__
($self, /)¶Return hash(self).
decision_function
(X)[source]¶Estimate distances of each data slice to all hyperplanes.
Parameters: |
|
---|---|
Returns: |
|
Notes
This requires base_estimator to have a decision_function
method.
fit
(X, y, **fit_params)[source]¶Fit a series of independent estimators to the dataset.
Parameters: |
|
---|---|
Returns: |
|
fit_transform
(X, y, **fit_params)[source]¶Fit and transform a series of independent estimators to the dataset.
Parameters: |
|
---|---|
Returns: |
|
get_params
(deep=True)[source]¶Get parameters for this estimator.
Parameters: |
|
---|---|
Returns: |
|
predict
(X)[source]¶Predict each data slice with all possible estimators.
Parameters: |
|
---|---|
Returns: |
|
predict_proba
(X)[source]¶Estimate probabilistic estimates of each data slice with all possible estimators.
Parameters: |
|
---|---|
Returns: |
|
Notes
This requires base_estimator to have a predict_proba
method.
score
(X, y)[source]¶Score each of the estimators on the tested dimensions.
Parameters: |
|
---|---|
Returns: |
|
set_params
(**params)[source]¶Set the parameters of this estimator.
The method works on simple estimators as well as on nested objects
(such as pipelines). The latter have parameters of the form
<component>__<parameter>
so that it’s possible to update each
component of a nested object.
Returns
——-
self
transform
(X)[source]¶Transform each data slice with all possible estimators.
Parameters: |
|
---|---|
Returns: |
|