diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-12-04 12:45:57 +0000 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-12-04 12:46:10 +0000 |
| commit | eec0096153472ad016a0a2d6e1a956c607a4a24f (patch) | |
| tree | 0479eab8aa2f37d25921943d8587c0f27951267d | |
| parent | Add debug flags for now (diff) | |
| download | pygensvm-eec0096153472ad016a0a2d6e1a956c607a4a24f.tar.gz pygensvm-eec0096153472ad016a0a2d6e1a956c607a4a24f.zip | |
Remove is_multimetric flag
Needed for scikit-learn 0.22.0
| -rw-r--r-- | gensvm/gridsearch.py | 2 |
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 |
