From 0361b805330cbf72263af025a2267b196456f715 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Wed, 4 Dec 2019 13:08:42 +0000 Subject: 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. --- gensvm/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gensvm/core.py') 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( -- cgit v1.2.3