[scikit-learn] Nested Leave One Subject Out (LOSO) cross validation with scikit

Raghav R V ragvrv at gmail.com
Mon Dec 5 09:19:55 EST 2016


Ah yes sorry LeaveOneGroupOut indeed!

Also refer this example for nested cv -
http://scikit-learn.org/stable/auto_examples/model_selection/plot_nested_cross_validation_iris.html

Thx!

On Mon, Dec 5, 2016 at 2:51 PM, Andy <t3kcit at gmail.com> wrote:

>
>
> On 12/04/2016 04:27 PM, Raghav R V wrote:
>
>> Hi!
>>
>> It looks like you are using the old `sklearn.cross_validation`'s
>> LeaveOneLabelOut cross-validator. It has been deprecated since v0.18.
>>
>> Use the `LeaveOneLabelOut` from `sklearn.model_selection`, that should
>> fix your issue I think (thought I have not looked into your code in detail).
>>
>> You mean LeaveOneGroupOut, right?
>
> _______________________________________________
> scikit-learn mailing list
> scikit-learn at python.org
> https://mail.python.org/mailman/listinfo/scikit-learn
>



-- 
Raghav RV
https://github.com/raghavrv
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20161205/22f3ba11/attachment.html>


More information about the scikit-learn mailing list