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 d72f958 commit 72c60ebCopy full SHA for 72c60eb
sklearn/ensemble/tests/test_gradient_boosting.py
@@ -87,6 +87,13 @@ def test_parameter_checks():
87
assert_raises(ValueError,
88
GradientBoostingClassifier(min_samples_leaf=-1.).fit, X, y)
89
90
+ assert_raises(ValueError,
91
+ GradientBoostingClassifier(min_weight_fraction_leaf=-1.).fit,
92
+ X, y)
93
94
+ GradientBoostingClassifier(min_weight_fraction_leaf=0.6).fit,
95
96
+
97
98
GradientBoostingClassifier(subsample=0.0).fit, X, y)
99
0 commit comments