[scikit-learn] how to preprocess in the cross_validate

Oliver Rausch oliverrausch99 at gmail.com
Sun Jul 7 04:03:08 EDT 2019


Hi Rujing,
The Pipeline [0] from sklearn may be of interest to you.

Best regards,
Oliver
—
[0] https://scikit-learn.org/stable/modules/compose.html

On Sun, Jul 7, 2019 at 08:50 charujing123 <charujing123 at 163.com> wrote:

> Hi
> It's easy to preprocess when i used part of data to train and test.
> However, how to preprocess within the function of
> sklearn.model_selection.cross_validate?
> Thanks.
> Rujing
>
> 2019-07-07
> ------------------------------
> charujing123
> _______________________________________________
> scikit-learn mailing list
> scikit-learn at python.org
> https://mail.python.org/mailman/listinfo/scikit-learn
>
-- 
Best Regards,
Oliver
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20190707/401201c6/attachment.html>


More information about the scikit-learn mailing list