Skip to content

Commit

Permalink
import parse_version from sklearn.utils.fixes (skrub-data#892)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromedockes committed May 28, 2024
1 parent 6d18147 commit d8d4feb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion skrub/_similarity_encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from scipy import sparse
from sklearn.feature_extraction.text import CountVectorizer, HashingVectorizer
from sklearn.preprocessing import OneHotEncoder
from sklearn.utils import parse_version
from sklearn.utils.fixes import parse_version
from sklearn.utils.validation import check_is_fitted

from ._string_distances import get_ngram_count, preprocess
Expand Down
2 changes: 1 addition & 1 deletion skrub/datasets/_fetching.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
from sklearn import __version__ as sklearn_version
from sklearn.datasets import fetch_openml
from sklearn.datasets._base import _sha256
from sklearn.utils import parse_version
from sklearn.utils.fixes import parse_version

from skrub._utils import import_optional_dependency
from skrub.datasets._utils import get_data_dir
Expand Down

0 comments on commit d8d4feb

Please sign in to comment.