Skip to content

Commit 48d9cc8

Browse files
authored
Merge pull request #18 from ubc-systopia/fix-sklearn-import
Fix import statement to work with latest sklearn
2 parents 160af59 + 653e3f7 commit 48d9cc8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/gosdt/_threshold_guessing.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# External imports
22
import numpy as np
33
import pandas as pd
4-
from sklearn.base import BaseEstimator, TransformerMixin, check_X_y
4+
from sklearn.base import BaseEstimator, TransformerMixin
5+
from sklearn.utils import check_X_y
56
from sklearn.ensemble import GradientBoostingClassifier
67
from sklearn.utils.validation import check_array, check_is_fitted
78

0 commit comments

Comments
 (0)