python - Nifti image into scikit learn -


i wanted use scikit-learn machine learning variation data processing of neuroimaging data, specifically, fmri data in nifti file type.

nilearn provides platform. however, don't understand how nitimasker working principle. how converts 4d fmri data 2d data scikit-learn.

i have 4d data of 1 subject, i.e (40, 64, 64, 1452), haxby data. use nibabel accessing images. if want process 1 planar, [20, :, :, 1] [20, :, :, 1452], np.flatten [n_samples,n_features] scikit-learn platform?

this not direct answer have @ nilearn extension of scikit-learn brain imaging data (not sure correct description).

there example of haxby data


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -