nimare.base
.Decoder¶
- class Decoder[source]¶
Bases:
nimare.base.NiMAREBase
Base class for decoders in
nimare.decode
.- fit(dataset)[source]¶
Fit Decoder to Dataset.
- Parameters
dataset (
nimare.dataset.Dataset
) – Dataset object to analyze.- Returns
nimare.results.MetaResult
– Results of Decoder fitting.
Notes
The
fit
method is a light wrapper that runs input validation and preprocessing before fitting the actual model. Decoders’ 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
.