Re: [scikit-learn] Error while using GridSearchCV.

2017-03-12 Thread Shubham Singh Tomar
Hi, guys! Thanks for the responses. @Fernando: Yes, this code is, in fact, part of Udacity's Boston Housing project. I'm currently working on my MLE Nanodegree. I was able to modify the code to go with *sklearn.model_selection*, as you suggested. And, it's great to see you help Udacity students

Re: [scikit-learn] Error while using GridSearchCV.

2017-03-07 Thread Fernando Marcos Wittmann
Hey Shubham, I am a project reviewer at Udacity. This code seems to be part of one of our projects (P1 - Boston Housing ). I think that you have updated the old module sklearn.cross_validation to the mod

Re: [scikit-learn] Error while using GridSearchCV.

2017-03-07 Thread Roman Yurchak
Shubham, the definition of ShuffleSplit.__init__ is ShuffleSplit(n_splits=10, test_size=0.1, train_size=None, random_state=None) you are passing the n_split parameter twice (once named and once as the first parameter), as the exception that you getting says, -- Roman On 07/03/17 14:24, Shub