diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-12-04 13:08:42 +0000 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-12-04 13:09:02 +0000 |
| commit | 0361b805330cbf72263af025a2267b196456f715 (patch) | |
| tree | a042049071702163d30bce82f9523d85714b1bac /gensvm/core.py | |
| parent | Remove is_multimetric flag (diff) | |
| download | pygensvm-0361b805330cbf72263af025a2267b196456f715.tar.gz pygensvm-0361b805330cbf72263af025a2267b196456f715.zip | |
Deal with changing behavior of check_is_fitted
This is going to change in version 0.23, so we
might as well inline it now.
Diffstat (limited to 'gensvm/core.py')
| -rw-r--r-- | gensvm/core.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gensvm/core.py b/gensvm/core.py index bfd5d9a..45d59ad 100644 --- a/gensvm/core.py +++ b/gensvm/core.py @@ -16,9 +16,9 @@ from sklearn.exceptions import ConvergenceWarning, FitFailedWarning from sklearn.preprocessing import LabelEncoder from sklearn.utils import check_array, check_X_y, check_random_state from sklearn.utils.multiclass import type_of_target -from sklearn.utils.validation import check_is_fitted from .cython_wrapper import wrapper +from .util import check_is_fitted def _fit_gensvm( |
