nimare.base
.MetaEstimator
- class MetaEstimator(*args, **kwargs)[source]
Bases:
nimare.base.Estimator
Base class for meta-analysis methods in
nimare.meta
.Changed in version 0.0.8:
[REF] Use saved MA maps, when available.
New in version 0.0.3.
- fit(dataset, drop_invalid=True)[source]
Fit Estimator to Dataset.
- Parameters
dataset (
nimare.dataset.Dataset
) – Dataset object to analyze.drop_invalid (
bool
, optional) – Whether to automatically ignore any studies without the required data or not. Default is False.
- Returns
nimare.results.MetaResult
– Results of Estimator fitting.- Variables
inputs_ (
dict
) – Inputs used in _fit.
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
.