python - scikit.cluster.Ward for n objects -


i want use scikit.cluster.ward group analysis. 1 brain straightforward use code bellow fit 1 niimg-like object ("fmri_masked").

ward = featureagglomeration(n_clusters, linkage='ward') ward.fit(fmri_masked) 

but if have list of niimg objects, is, have n fmri brains rather 1?

thanks


Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

minify - Minimizing css files -