nimare.base
.Decoder
- class Decoder[source]
Bases:
nimare.base.NiMAREBase
Base class for decoders in
decode
.New in version 0.0.3.
- fit(dataset, drop_invalid=True)[source]
Fit Decoder to Dataset.
- Parameters
- Returns
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
.