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
Despite documentation suggesting that since randomness is applied not just on shuffle, that this use case is intended, but doesn't seem to work:
cv = MultilabelStratifiedKFold(cv, random_state=RANDOM_STATE)
File "/Users/raahilshah/opt/anaconda3/envs/storm/lib/python3.8/site-packages/iterstrat/ml_stratifiers.py", line 157, in __init__
super(MultilabelStratifiedKFold, self).__init__(n_splits=n_splits, shuffle=shuffle, random_state=random_state)
File "/Users/raahilshah/opt/anaconda3/envs/storm/lib/python3.8/site-packages/sklearn/model_selection/_split.py", line 296, in __init__
raise ValueError(
ValueError: Setting a random_state has no effect since shuffle is False. You should leave random_state to its default (None), or set shuffle=True.
The text was updated successfully, but these errors were encountered:
Despite documentation suggesting that since randomness is applied not just on shuffle, that this use case is intended, but doesn't seem to work:
The text was updated successfully, but these errors were encountered: