FREM on Jimura et al “mixed gambles” dataset

In this example, we use fast ensembling of regularized models (FREM) to solve a regression problem, predicting the gain level corresponding to each beta maps regressed from mixed gambles experiment. FREM uses an implicit spatial regularization through fast clustering and aggregates a high number of estimators trained on various splits of the training set, thus returning a very robust decoder at a lower computational cost than other spatially regularized methods.

To have more details, see: FREM: fast ensembling of regularized models for robust decoding.

See the dataset description for more information on the data used in this example.

Load the data from the Jimura mixed-gamble experiment

[fetch_mixed_gambles] Dataset created in
/home/runner/nilearn_data/jimura_poldrack_2012_zmaps
[fetch_mixed_gambles] Downloading data from
https://www.nitrc.org/frs/download.php/7229/jimura_poldrack_2012_zmaps.zip ...
[fetch_mixed_gambles] Downloaded 27467776 of 104293434 bytes (26.3%%,    2.8s
remaining)
[fetch_mixed_gambles] Downloaded 76865536 of 104293434 bytes (73.7%%,    0.7s
remaining)
[fetch_mixed_gambles]  ...done. (3 seconds, 0 min)

[fetch_mixed_gambles] Extracting data from
/home/runner/nilearn_data/jimura_poldrack_2012_zmaps/a4c8868ab5c651b8594da6f3204
ded3a/jimura_poldrack_2012_zmaps.zip...
[fetch_mixed_gambles] .. done.

Fit FREM

We compare both of these models to a pipeline ensembling many models

import warnings

from sklearn.exceptions import ConvergenceWarning

from nilearn.decoding import FREMRegressor

frem = FREMRegressor("svr", cv=10, standardize="zscore_sample", verbose=1)

with warnings.catch_warnings():
    warnings.filterwarnings(action="ignore", category=ConvergenceWarning)
    frem.fit(zmap_filenames, behavioral_target)
[FREMRegressor.fit] Loading data from [<nibabel.nifti1.Nifti1Image object at
0x7f60cbafe7a0>, <nibabel.nifti1.Nifti1Image object at 0x7f60cbafebf0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbafe800>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbafcdf0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbafc7c0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba6f940>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba6ca90>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba6ed70>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba6d240>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba6ffa0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba6fdf0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba6df00>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba6e020>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba6f280>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba6e320>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba6cb20>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba6feb0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba6ea70>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba6f8e0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba6fb50>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba6dc00>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba6ffd0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbafde10>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba6e4d0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba6f8b0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d73a0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d5570>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d64d0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d6ef0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d6710>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d4070>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d67d0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d7850>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d44c0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d6a70>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d61d0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d6fb0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d42b0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d5a50>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d6530>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d4c10>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d60e0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d4d30>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d6b90>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d7c70>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d7340>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d4d60>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d7cd0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d7010>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d6080>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d5930>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d6200>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d5e70>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d5450>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d7310>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d5e10>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d4700>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d5900>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d4ca0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d6ec0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d6350>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d45e0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d69e0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d6e30>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d7df0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d68c0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d5690>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d7580>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d4af0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d4190>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d6f20>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d6bc0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d5660>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d5d20>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d5f60>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d77f0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d74f0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d6650>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d5b10>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d4b50>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d5510>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d4f40>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d6680>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d5d50>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d48b0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d57b0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8d6d70>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbd54280>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbd578b0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbd57eb0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbd55390>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbd57160>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbd56f50>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbd54550>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbd54d90>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbd54a60>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbd57ee0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbd56da0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbd540d0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbd57340>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbd540a0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbd570d0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbd56e90>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbd57c40>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbd55ab0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbd559f0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbd54c40>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbdc1000>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbdc06d0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbdc08b0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbdc22c0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbdc1570>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbdc0b80>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbdc1780>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbdc1f60>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbdc0160>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbdc3970>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbdc1840>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbdc0400>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbdc1990>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbdc0e80>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbdc13c0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbdc39d0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbdc1120>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbdc3d60>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbdc0100>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbdc0130>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbdc0a90>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbdc17e0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbdc24a0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbdc22f0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbdc0a60>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbdc2410>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbdc14b0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbdc3d00>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbdc0700>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbdc2080>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbdc0f40>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461e230>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461c790>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461dcf0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461f0a0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461d150>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461d870>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461fee0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461f010>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461d450>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461d270>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461fa30>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461e350>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461dc60>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461d360>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461e830>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461c340>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461c100>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461ff10>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461ee00>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461c7c0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461fd00>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461fac0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461f4f0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461e770>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461e6e0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461c490>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461c6a0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461cb80>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461fca0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461fbb0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461f220>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461d780>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461ef80>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461ce20>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461c0a0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461de70>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461c4c0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461ebc0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461d390>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461d0c0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461e500>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461f040>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461e2f0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461dc90>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461f250>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461eef0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461f6d0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461d510>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461c6d0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461c280>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461cc70>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461fa00>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461f820>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461cf40>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461e860>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461c970>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461d300>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461c5b0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461f610>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461c5e0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461e7a0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e461fc10>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f9c30>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81fbbb0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f8a30>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f87f0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f8d90>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f9600>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81fb940>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f9f30>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f88e0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f9e40>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f9c00>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81fb6a0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81fa800>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81fa230>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f9660>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f9000>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81fa140>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81fbe20>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f9b10>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f8670>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f8250>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f9630>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f8c10>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81fafb0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81fbfd0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f8070>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81fbcd0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f9780>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f9d20>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81fb400>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f81f0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f9bd0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f9720>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f9ff0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81fa1d0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81fa950>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81fb100>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f9e10>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f8970>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81fae30>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81fb6d0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81fbc40>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81fb9a0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81faf20>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f8850>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f9900>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81fad70>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81fb3a0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81fa8f0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81fb610>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81fa6e0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f8b50>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f80d0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f9cf0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81fbaf0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81fb9d0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81fbca0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f9030>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81fb340>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f8ca0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a6920>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a61d0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a7a00>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a6e90>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a5330>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a6950>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a4df0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a62c0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a59c0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a4250>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a4be0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a7f70>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a7f10>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a78e0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a7220>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a7a60>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a7940>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a61a0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a49a0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a5cc0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a44c0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a6770>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a7a30>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a59f0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a5c00>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a69e0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a7c40>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a63b0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a5ff0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a5120>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a5540>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a6b30>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a6c20>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a4460>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a5390>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a4970>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a6170>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a4520>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a5870>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a6f80>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a4fa0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a50f0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a7d00>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a4e20>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a6e00>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a6680>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a6110>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a6b90>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a5d20>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a43a0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a41c0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a6c50>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a5840>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a66e0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a47c0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a6350>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a6710>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a67d0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a5570>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a5d80>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a7b50>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a5480>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a4a90>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a4910>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a40d0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e63a6740>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f367d0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f370d0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f357e0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f37280>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f36890>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f36860>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f34610>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f37670>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f369e0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f35780>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f34ca0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f36680>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f372b0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f347c0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f35ae0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f35120>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f34ac0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f353c0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f34370>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f37940>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f34a00>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f361a0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f349d0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f36e00>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f343d0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f35d20>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f35600>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f34a60>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f35030>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f34160>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f37e50>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f359f0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f34340>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f34640>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f35690>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f37d00>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f352d0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f36560>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f34700>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f379d0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f37d90>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f34550>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f35630>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f35960>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f34280>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f36a10>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f34d60>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f34c40>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f35e10>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f36c80>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f36650>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f37c40>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f36470>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f37130>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f35d80>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f35420>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f34dc0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f35510>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f374c0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cc2f7a90>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f353f0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f37ee0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f35000>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e5f350f0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba17a60>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba169b0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba163b0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba16ec0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba16380>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba14d00>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba14b20>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba173a0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba169e0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba15600>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba168f0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba16aa0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba16890>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbc7e410>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbc7faf0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbc7efb0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbc7c940>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbc7c4c0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbc7ec50>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbc7dab0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbc7dc60>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbc7c760>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbc7fe80>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbc7e2f0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbc7feb0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbc7fee0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbc7c3a0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbc7f790>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbc7ffd0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbc7f580>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbc7c9d0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbc7eb60>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbc7fb80>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbb8ee00>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbb8de10>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbb8faf0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbb8e890>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbb8c580>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbb8cc10>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbb8ddb0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbb8f760>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbb8f310>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbb8f850>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbb8e5f0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbb8f700>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbb8e080>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbb8c8b0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbb8f160>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbb8d300>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbb8feb0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbb8e470>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbb8f340>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbb8ceb0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbb8e2f0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbb8f2b0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbb8e4d0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbe80ee0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbe804f0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbc9d7e0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbc9ef20>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbe80e50>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbe83970>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba9ea40>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba9c820>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba9f0a0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba9ee60>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba9d660>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb853fd0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb851330>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb850430>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb853040>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8517b0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb852fb0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8529e0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb853d00>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8537c0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb852710>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8519c0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb853130>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb851930>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb852c20>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb8531c0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb851900>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb852590>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb850b80>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbe0cdc0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb853760>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbe0e650>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbe0c8b0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbcc5390>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbcc7b20>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbcc4820>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbcc5000>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbcc77f0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbcc6b60>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbcc4040>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbcc4400>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbcc4280>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbcc4b50>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbcc7ca0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbcc7340>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbcc62f0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbcc7ac0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbcc5a80>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbcc6590>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbccb970>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbccb9d0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbccb880>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbcca830>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbcc9510>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbccace0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbccbeb0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbccb820>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbccb850>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbccbd00>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb961150>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbcca7a0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb960dc0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb962e00>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba233a0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba23b20>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba22f80>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba21120>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba22500>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba22b30>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba23670>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba215a0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba22c20>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba23d60>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba20cd0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba21180>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba22d70>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cba23460>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cc07ca90>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cc07cee0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cc07ece0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cc07d570>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cc07e470>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cc07f190>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cc07f250>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cc07c610>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cc07da80>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cc07fcd0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cc07c400>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cc07c8e0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cc07c340>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cc07c0d0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cc07f7f0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cc07e950>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cc07de10>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649f880>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649ea70>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649f1f0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649e6b0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649cb80>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649d570>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649ff70>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649eaa0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649c430>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649d9f0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649d660>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649c760>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649ca60>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649e7a0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649caf0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649cd30>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649e710>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649ec80>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649ffd0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649e020>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649d2a0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649f520>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649f160>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649f220>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649fa60>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649e0e0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649e2c0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649dea0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649d360>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649fca0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649cc70>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649ed40>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649e8c0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649ceb0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649f400>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649c940>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649fc70>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649c370>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649d5d0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649dc60>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649e4d0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649ecb0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649dd50>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649e410>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649e380>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649f190>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649fa90>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649dbd0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649cac0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649fd30>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649dc90>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649e320>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649c880>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649ed10>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649f3d0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649e3e0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649ccd0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649d5a0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649e170>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649f0d0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649e230>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649c460>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649c5e0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649f9d0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e649fc10>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbea8c10>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbea86a0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbeab940>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbeab460>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbea9e40>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbea8490>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbeaa8c0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbeaabf0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbea89a0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbea8640>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbeabaf0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbeaada0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbea8520>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbea8cd0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbea9d20>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbea8ee0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbea8700>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbeaaec0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbc97160>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbc94040>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbc95720>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbc96290>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbc972e0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbc973d0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbc97100>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbc94070>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbc95b40>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbc94b50>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbc96ef0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbc944f0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbc97250>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbc94a90>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f64a0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f4f10>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f67a0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f50f0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f7ca0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f5030>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f5540>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f4f40>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f7370>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f7730>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f6110>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f4d60>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f4d90>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f4a00>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f4220>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb9b3ac0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb9b1db0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbafe260>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbafd2a0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbaffc40>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbafe890>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbafd840>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbafe050>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbaff6d0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbaffc10>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbafe320>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f46d0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f6b60>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f52a0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f6da0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f6770>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f5930>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f60b0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f4df0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f7280>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f64d0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f4c10>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f65c0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f4370>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f47f0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f6170>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f6bf0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f63b0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f4c40>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f5b70>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f5d50>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f4910>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f6c50>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f6b00>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f4e80>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f5cc0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f7760>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f6e60>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f6b30>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f74f0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f6740>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f6b90>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f7340>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f47c0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f5510>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f48e0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f5750>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f7ee0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f71c0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f7e80>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f7640>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f7f70>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f59c0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60c81f57b0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb906ad0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb905b70>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb906110>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb906bc0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb906bf0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb9074c0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb907430>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb907100>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb904100>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb9060e0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb905a50>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb906950>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb905ed0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb904fd0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb9066e0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cb9059f0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbf4e5f0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbf4dff0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbf4e230>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbbe9990>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbf4ff10>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbf4e1a0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60cbbea500>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69eca30>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69ed900>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69efc40>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69ed090>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69efee0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69ec130>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69ecee0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69ed180>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69eff10>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69ed3f0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69eda80>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69ed8d0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69ec1f0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69ee770>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69ef7c0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69ecf40>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69ef130>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69ef100>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69efe50>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69eefb0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69eea70>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69ed0f0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69ecc10>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69ed780>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69ecf70>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69ee8f0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69ecd90>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69ef700>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69efdc0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69ec640>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69ec4c0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69eead0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69edea0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69ed000>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69ef640>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69ee5f0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69ed0c0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69edfc0>,
<nibabel.nifti1.Nifti1Image object at 0x7f60e69ed1e0>]
[FREMRegressor.fit] Computing mask
[FREMRegressor.fit] Resampling mask
[FREMRegressor.fit] Finished fit
[FREMRegressor.fit] Loading data from <nibabel.nifti1.Nifti1Image object at
0x7f60cbafeb90>
[FREMRegressor.fit] Extracting region signals
[FREMRegressor.fit] Cleaning extracted signals
/home/runner/work/nilearn/nilearn/examples/02_decoding/plot_mixed_gambles_frem.py:46: UserWarning: Brain mask (2123327.999999999 mm^3) is bigger than the standard human brain (1882989.0 mm^3).This object is probably not tuned to be used on such data.
  frem.fit(zmap_filenames, behavioral_target)
[FREMRegressor.fit] Mask volume = 2.12333e+06mm^3 = 2123.33cm^3
[FREMRegressor.fit] Standard brain volume = 1.88299e+06mm^3
[FREMRegressor.fit] Original screening-percentile: 20
[FREMRegressor.fit] Corrected screening-percentile: 17.7362
[Parallel(n_jobs=1)]: Using backend SequentialBackend with 1 concurrent workers.
[Parallel(n_jobs=1)]: Done   1 out of   1 | elapsed:    1.9s remaining:    0.0s
[Parallel(n_jobs=1)]: Done  10 out of  10 | elapsed:   18.1s finished
[FREMRegressor.fit] Computing image from signals
[FREMRegressor.fit] Computing image from signals

Visualize FREM weights

from nilearn.plotting import plot_stat_map, show

plot_stat_map(
    frem.coef_img_["beta"],
    title="FREM",
    display_mode="yz",
    cut_coords=[20, -2],
    threshold=0.2,
)

show()
plot mixed gambles frem

We can observe that the coefficients map learnt by FREM is structured, due to the spatial regularity imposed by working on clusters and model ensembling. Although these maps have been thresholded for display, they are not sparse (i.e. almost all voxels have non-zero coefficients).

See also

other example using FREM, and related section of user guide.

Example use of TV-L1 SpaceNet

SpaceNet is another method available in Nilearn to decode with spatially sparse models. Depending on the penalty that is used, it yields either very structured maps (TV-L1) or unstructured maps (graph_net). Because of their heavy computational costs, these methods are not demonstrated on this example but you can try them easily if you have a few minutes. Example code is included below.

from nilearn.decoding import SpaceNetRegressor

# We use the regressor object since the task is to predict a continuous
# variable (gain of the gamble).

tv_l1 = SpaceNetRegressor(
    mask=mask_filename,
    penalty="tv-l1",
    eps=1e-1,  # prefer large alphas
    memory="nilearn_cache",
    n_jobs=2,
)
# tv_l1.fit(zmap_filenames, behavioral_target)
# plot_stat_map(tv_l1.coef_img_, title="TV-L1", display_mode="yz",
#               cut_coords=[20, -2])

Total running time of the script: (0 minutes 29.428 seconds)

Estimated memory usage: 2936 MB

Gallery generated by Sphinx-Gallery