You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ValueError: n_splits=10 cannot be greater than the number of members in each class.
I suspect this happens when the total number of samples is >= 10, but one of the locations has < 10 samples. This case should be checked for and handled gracefully the same way as the case when the total number of samples is < 10, i.e. not throw an exception.
The text was updated successfully, but these errors were encountered:
@kootenpv I plan on checking if Minimum number of samples from each unique location is greater than n_splits using try and Execute Block in similar manner to when the total number of samples is < 10, i.e. not throw an exception.
When running
whereami crossval
, I getI suspect this happens when the total number of samples is >= 10, but one of the locations has < 10 samples. This case should be checked for and handled gracefully the same way as the case when the total number of samples is < 10, i.e. not throw an exception.
The text was updated successfully, but these errors were encountered: