Skip to content

Commit db53336

Browse files
committed
Fix tag warnings
1 parent 16cc307 commit db53336

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

quantile_forest/_quantile_forest.py

-16
Original file line numberDiff line numberDiff line change
@@ -1369,14 +1369,6 @@ def __init__(
13691369
self.ccp_alpha = ccp_alpha
13701370
self.monotonic_cst = monotonic_cst
13711371

1372-
def _more_tags(self):
1373-
return {
1374-
"multioutput": True,
1375-
"_xfail_checks": {
1376-
"check_dataframe_column_names_consistency": "Internal calls.",
1377-
},
1378-
}
1379-
13801372

13811373
class ExtraTreesQuantileRegressor(BaseForestQuantileRegressor):
13821374
"""An extra-trees regressor that provides quantile estimates.
@@ -1693,11 +1685,3 @@ def __init__(
16931685
self.min_impurity_decrease = min_impurity_decrease
16941686
self.ccp_alpha = ccp_alpha
16951687
self.monotonic_cst = monotonic_cst
1696-
1697-
def _more_tags(self):
1698-
return {
1699-
"multioutput": True,
1700-
"_xfail_checks": {
1701-
"check_dataframe_column_names_consistency": "Internal calls.",
1702-
},
1703-
}

quantile_forest/tests/test_quantile_forest.py

-2
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,6 @@ def check_regression_toy(name, weighted_quantile):
8585
)
8686
assert_allclose(y_pred, y_true)
8787

88-
assert est._more_tags()
89-
9088

9189
@pytest.mark.parametrize("name", FOREST_REGRESSORS)
9290
@pytest.mark.parametrize("weighted_quantile", [True, False])

0 commit comments

Comments
 (0)