[scikit-learn] help

Prokopis Gryllos gryllosprokopis at gmail.com
Thu Jun 14 11:50:21 EDT 2018


Hey Alexandra,

Can you maybe share the error output?

gr,
Prokopis

On Thu, Jun 14, 2018 at 5:20 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/d9307b05/attachment.html>


More information about the scikit-learn mailing list