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 1283402 commit 8be48a9Copy full SHA for 8be48a9
tests/estimators/classification/test_scikitlearn.py
@@ -98,8 +98,8 @@ def test_multi_label(self):
98
model = ScikitlearnDecisionTreeClassifier(model=underlying_model)
99
100
pred = model.predict(x_test)
101
- assert (pred[0].shape[0] == x_test.shape[0])
102
- assert (isinstance(model.nb_classes, np.ndarray))
+ assert pred[0].shape[0] == x_test.shape[0]
+ assert isinstance(model.nb_classes, np.ndarray)
103
with self.assertRaises(TypeError):
104
check_and_transform_label_format(y_train, nb_classes=model.nb_classes)
105
0 commit comments