[scikit-learn] help

Alexandra Metallinou Log alexandra.log at sintef.no
Thu Jun 14 06:44:28 EDT 2018


Dear Sir/Madam,


I have stumbled upon a problem while trying to run some old code using skcikit-learn:


scores = cross_validation.cross_val_score(model, X, Y, cv = 10, score_func = metrics.mean_squared_error)


This line will not run in a program I downloaded, and as I am not yet very familliar with scikit-learn I do not know how I should replace "score_func = metrics.mean_squared_error" to produce the same result as intended by the ones who made the program. Any help is greatly appreciated.


Best regards,


Alexandra Log

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20180614/85b6e73f/attachment.html>


More information about the scikit-learn mailing list