mne.decoding.get_coef¶
- mne.decoding.get_coef(estimator, attr='filters_', inverse_transform=False)[source]¶
Retrieve the coefficients of an estimator ending with a Linear Model.
This is typically useful to retrieve “spatial filters” or “spatial patterns” of decoding models 1.
- Parameters
- Returns
- coef
array
The coefficients.
- coef
References
- 1
Stefan Haufe, Frank Meinecke, Kai Görgen, Sven Dähne, John-Dylan Haynes, Benjamin Blankertz, and Felix Bießmann. On the interpretation of weight vectors of linear models in multivariate neuroimaging. NeuroImage, 87:96–110, 2014. doi:10.1016/j.neuroimage.2013.10.067.