Skip to content

Commit

Permalink
deprecation
Browse files Browse the repository at this point in the history
Signed-off-by: xadupre <[email protected]>
  • Loading branch information
xadupre committed Dec 20, 2024
1 parent 76912c3 commit a7e58d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_sklearn_adaboost_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

class TestSklearnAdaBoostModels(unittest.TestCase):
@unittest.skipIf(TARGET_OPSET < 11, reason="not available")
@unittest.skipIf(pv.Version(skl_version) < pv.Version("1.6"), "deprecated")
@unittest.skipIf(pv.Version(skl_version) >= pv.Version("1.6"), "deprecated")
def test_ada_boost_classifier_samme_r(self):
if pv.Version(skl_version) < pv.Version("1.2"):
model, X_test = fit_classification_model(
Expand Down Expand Up @@ -63,7 +63,7 @@ def test_ada_boost_classifier_samme_r(self):
)

@unittest.skipIf(TARGET_OPSET < 11, reason="not available")
@unittest.skipIf(pv.Version(skl_version) < pv.Version("1.6"), "deprecated")
@unittest.skipIf(pv.Version(skl_version) >= pv.Version("1.6"), "deprecated")
def test_ada_boost_classifier_samme_r_decision_function(self):
if pv.Version(skl_version) < pv.Version("1.2"):
model, X_test = fit_classification_model(
Expand Down Expand Up @@ -103,7 +103,7 @@ def test_ada_boost_classifier_samme_r_decision_function(self):
)

@unittest.skipIf(TARGET_OPSET < 11, reason="not available")
@unittest.skipIf(pv.Version(skl_version) < pv.Version("1.6"), "deprecated")
@unittest.skipIf(pv.Version(skl_version) >= pv.Version("1.6"), "deprecated")
def test_ada_boost_classifier_samme_r_logreg(self):
if pv.Version(skl_version) < pv.Version("1.2"):
model, X_test = fit_classification_model(
Expand Down

0 comments on commit a7e58d7

Please sign in to comment.