diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-03-06 22:31:52 -0500 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-03-06 22:31:52 -0500 |
| commit | 072b709aec8dd22b68c3e720123556aca821db61 (patch) | |
| tree | e4293e1c2b38407655be000c25927a685e4f86b2 /test | |
| parent | Minor documentation fixes (diff) | |
| download | pygensvm-072b709aec8dd22b68c3e720123556aca821db61.tar.gz pygensvm-072b709aec8dd22b68c3e720123556aca821db61.zip | |
Speed up unit test
Diffstat (limited to 'test')
| -rw-r--r-- | test/test_core.py | 2 |
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_ |
