(Think this is right reply to from a digest... If not, apologies)
Thanks for the pointers. From what I read on the API, I gather that for an
estimator with a score method, inside GridSearchCV there will be
pseudo-code like
...
estimator.fit(X_train, y_train)
scorer = estimator.score
return scorer(X_test, y_test)
For custom scores that are not methods of an estimator, I guess the
`make_scorer` function returns a callable with the same signature as a
score method of an estimator?
--
Jonathan Taylor
Dept. of Statistics
Sequoia Hall, 137
390 Serra Mall
Stanford, CA 94305
Tel: 650.723.9230
Fax: 650.725.8977
Web: http://www-stat.stanford.edu/~jtaylo
_______________________________________________
scikit-learn mailing list
[email protected]
https://mail.python.org/mailman/listinfo/scikit-learn