Skip to content

Commit bdd7415

Browse files
committed
fix: SVC() warnings silenced
1 parent e17b1bb commit bdd7415

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/core_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,7 @@ def test_SVM_loss(self):
949949
y_training = np.random.randint(0, 2, size=(n_instances, n_classes))
950950
X_pool = np.random.rand(n_instances, 5)
951951
y_pool = np.random.randint(0, 2, size=(n_instances, n_classes))
952-
classifier = OneVsRestClassifier(SVC())
952+
classifier = OneVsRestClassifier(SVC(probability=True, gamma='auto'))
953953
classifier.fit(X_training, y_training)
954954
avg_loss = modAL.multilabel._SVM_loss(classifier, X_pool)
955955
mcc_loss = modAL.multilabel._SVM_loss(classifier, X_pool,

0 commit comments

Comments
 (0)