aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2019-12-04 12:45:57 +0000
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2019-12-04 12:46:10 +0000
commiteec0096153472ad016a0a2d6e1a956c607a4a24f (patch)
tree0479eab8aa2f37d25921943d8587c0f27951267d
parentAdd debug flags for now (diff)
downloadpygensvm-eec0096153472ad016a0a2d6e1a956c607a4a24f.tar.gz
pygensvm-eec0096153472ad016a0a2d6e1a956c607a4a24f.zip
Remove is_multimetric flag
Needed for scikit-learn 0.22.0
-rw-r--r--gensvm/gridsearch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gensvm/gridsearch.py b/gensvm/gridsearch.py
index b27a347..22125a4 100644
--- a/gensvm/gridsearch.py
+++ b/gensvm/gridsearch.py
@@ -116,7 +116,7 @@ def _wrap_score(y_pred, y_true, scorers, is_multimetric):
results["score"] = np.nan
else:
estimator = _MockEstimator(y_pred)
- results = _score(estimator, None, y_true, scorers, is_multimetric)
+ results = _score(estimator, None, y_true, scorers)
score_time = time.time() - start_time
return results, score_time