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 575fba6 commit 83a078bCopy full SHA for 83a078b
tests/python/test_with_sklearn.py
@@ -1030,7 +1030,7 @@ def test_pandas_input():
1030
clf_isotonic = CalibratedClassifierCV(model, cv="prefit", method="isotonic")
1031
clf_isotonic.fit(train, target)
1032
assert isinstance(
1033
- clf_isotonic.calibrated_classifiers_[0].base_estimator, xgb.XGBClassifier
+ clf_isotonic.calibrated_classifiers_[0].estimator, xgb.XGBClassifier
1034
)
1035
np.testing.assert_allclose(np.array(clf_isotonic.classes_), np.array([0, 1]))
1036
0 commit comments