We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a66361b commit 5426250Copy full SHA for 5426250
autosklearn/evaluation/train_evaluator.py
@@ -81,7 +81,7 @@ def subsample_indices(
81
elif subsample > 1:
82
raise ValueError("Subsample must not be larger than 1, but is %f" % subsample)
83
84
- if subsample is not None and subsample < 1:
+ if subsample is not None and 0 <= subsample < 1:
85
# Only subsample if there are more indices given to this method than
86
# required to subsample because otherwise scikit-learn will complain
87
0 commit comments