diff options
Diffstat (limited to 'test/test_gridsearch.py')
| -rw-r--r-- | test/test_gridsearch.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_gridsearch.py b/test/test_gridsearch.py index 1a29b0a..f4cff7e 100644 --- a/test/test_gridsearch.py +++ b/test/test_gridsearch.py @@ -172,6 +172,9 @@ class GenSVMGridSearchCVTestCase(unittest.TestCase): self.assertTrue(hasattr(clf, "best_params_")) + y_pred = clf.predict(X_test, trainX=X_train) + del y_pred + def test_invalid_y(self): """ GENSVM_GRID: Check raises for invalid y type """ pg = {"lmd": [1e-4, 100, 10000], "kernel": ["rbf"]} |
