Re: [scikit-learn] Control over the inner loop in GridSearchCV

2017-02-27 Thread Sebastian Raschka
quaux) | Twitter > twitter.com > The latest Tweets from Gael Varoquaux (@GaelVaroquaux). Researcher and geek: > ►Brain, Data, & Computational science ►#python #pydata #sklearn ►Machine > learning for fMRI ►Photography on @artgael. Paris, France > > Gaël Varoquaux: computer / data

Re: [scikit-learn] Control over the inner loop in GridSearchCV

2017-02-27 Thread Sebastian Raschka
Hi, Ludovico, what format (shape) is data in? Are these the arrays from a Kfold iterator? In this case, the “question marks” in your code snippet should simply be the train and validation subset indices generated by the KFold generator. E.g., skfold = StratifiedKFold(y=y_train, n_folds=5, shuf

[scikit-learn] Control over the inner loop in GridSearchCV

2017-02-27 Thread Ludovico Coletta
Dear Scikit experts, we am stucked with GridSearchCV. Nobody else was able/wanted to help us, we hope you will. We are analysing neuroimaging data coming from 3 different MRI scanners, where for each scanner we have a healthy group and a disease group. We would like to merge the data from th