From 072b709aec8dd22b68c3e720123556aca821db61 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Wed, 6 Mar 2019 22:31:52 -0500 Subject: Speed up unit test --- test/test_core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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_ -- cgit v1.2.3