[scikit-learn] help

Christos Aridas ichkoar at gmail.com
Thu Jun 14 14:52:22 EDT 2018


 Hey Alexandra . Could you please post a minimal, complete, and verifiable
example? Apart from this could you post the exact error message?

Best,
Chris

On Thu, Jun 14, 2018 at 1:44 PM, Alexandra Metallinou Log <
alexandra.log at sintef.no> wrote:

> 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
>
>
> _______________________________________________
> scikit-learn mailing list
> scikit-learn at python.org
> https://mail.python.org/mailman/listinfo/scikit-learn
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20180614/80b93668/attachment.html>


More information about the scikit-learn mailing list