Skip to content
This repository has been archived by the owner on Feb 18, 2023. It is now read-only.

Try 5 folds for cross validation #28

Closed
joclement opened this issue Oct 30, 2020 · 1 comment
Closed

Try 5 folds for cross validation #28

joclement opened this issue Oct 30, 2020 · 1 comment
Assignees

Comments

@joclement
Copy link
Owner

I think it shouldn't be possible currently with the amount of data.

@joclement joclement added this to the Finish data preprocessing milestone Oct 30, 2020
@joclement joclement self-assigned this Oct 30, 2020
@joclement
Copy link
Owner Author

I get the following warning:

/home/joris/.cache/pypoetry/virtualenvs/thesis-DO_AFXGU-py3.8/lib/python3.8/site-packages/sklearn/model_selection/_split.py:670: UserWarning: The least populated class in y has only 4 members, which is less than n_splits=5.
  warnings.warn(("The least populated class in y has only %d"

So it is not advised.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant