aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/test_core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_core.py b/test/test_core.py
index af4bb2a..0a1042a 100644
--- a/test/test_core.py
+++ b/test/test_core.py
@@ -295,7 +295,7 @@ class GenSVMTestCase(unittest.TestCase):
""" GENSVM: Test fit with sample weights """
X, y = load_iris(return_X_y=True)
weights = np.random.random((X.shape[0],))
- clf = GenSVM()
+ clf = GenSVM(max_iter=100)
clf.fit(X, y, sample_weight=weights)
# with seeding
V = clf.combined_coef_