nimare.base
.Decoder¶
-
class
Decoder
[source]¶ Bases:
nimare.base.NiMAREBase
Base class for decoders in
nimare.decode
.-
fit
(dataset)[source]¶ Fit Estimator to Dataset.
- Parameters
dataset (
nimare.dataset.Dataset
) – Dataset object to analyze.- Returns
nimare.results.MetaResult
– Results of Estimator fitting.
Notes
The
fit
method is a light wrapper that runs input validation and preprocessing before fitting the actual model. Estimators’ individual “fitting” methods are implemented as_fit
, although users should callfit
.Selection of features based on requested features and feature group is performed in
Decoder._preprocess_input
.
-