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 a023e76 commit 58513a1Copy full SHA for 58513a1
tests/test_linearboost.py
@@ -1,7 +1,16 @@
1
-from sklearn.utils.estimator_checks import parametrize_with_checks
+from sklearn.base import is_classifier
2
+
3
from linearboost.linear_boost import LinearBoostClassifier
4
5
+from ._utils import check_estimator, get_expected_failed_tests
6
7
-@parametrize_with_checks([LinearBoostClassifier()])
-def test_sklearn_compatible_estimator(estimator, check):
- check(estimator)
8
+def test_linear_boost_estimator():
9
+ """
10
+ Test whether `LinearBoostClassifier` adheres to scikit-learn conventions.
11
12
+ check_estimator(
13
+ LinearBoostClassifier(),
14
+ expected_failed_checks=get_expected_failed_tests(LinearBoostClassifier()),
15
+ )
16
+ assert is_classifier(LinearBoostClassifier)
0 commit comments