Re: [scikit-learn] using a mask for brain images

2017-05-05 Thread Gael Varoquaux
On Fri, May 05, 2017 at 12:13:08PM +0200, Alle Meije Wink wrote: > Thanks for that Gael - I do know nilearn but in this case I did a depth-first > search on doing SVM on brain images and ended up here :) :). Darn, we need to work on our search engine optimization. Nilearn should be the easiest way

Re: [scikit-learn] using a mask for brain images

2017-05-05 Thread Alle Meije Wink
Thanks for that Gael - I do know nilearn but in this case I did a depth-first search on doing SVM on brain images and ended up here :) The size of 'coef' is (1,205739), the size of mask[mask].T is (205739,) Same number of elements, different storage layout(?). Turned out that the numpy.ravel() fun