2013/7/8 Josh Wasserstein <ribonucle...@gmail.com>:
> Thank you Lars. I didn't see any deprecation warnings. Also, from what I can
> tell, one of the primary examples for model selection in the documentation
> uses cv as an argument to clf.fit:
>
> clf = GridSearchCV(SVC(C=1), tuned_parameters, score_func=score_func)
> clf.fit(X_train, y_train, cv=5)
>
> I presume that should be:
>
> clf = GridSearchCV(SVC(C=1), tuned_parameters, score_func=score_func, cv=5)
> clf.fit(X_train, y_train)
>
> correct?

Yes. That's grid_search_digits.py, right? I changed that in March, but
there hasn't been a release since, so you're still seeing the old
version.

-- 
Lars Buitinck
Scientific programmer, ILPS
University of Amsterdam

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to