Thanks to visit codestin.com Credit goes to github.com
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 e446939 commit 649d02eCopy full SHA for 649d02e
tests/test_boosting.py
@@ -207,7 +207,7 @@ def test_negative_ccp_alpha(make_whas500):
207
whas500_data = make_whas500(with_std=False, to_numeric=True)
208
209
clf = GradientBoostingSurvivalAnalysis()
210
- msg = "ccp_alpha must be greater than or equal to 0"
+ msg = "ccp_alpha == -1.0, must be >= 0.0"
211
212
clf.set_params(ccp_alpha=-1.0)
213
with pytest.raises(ValueError, match=msg):
0 commit comments