Skip to content

Commit

Permalink
Fix Import of scikit-learn parse_version (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
reidjohnson authored May 23, 2024
1 parent 555fdab commit 5596ca9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion quantile_forest/_quantile_forest.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ class calls the ``fit`` method of the ``ForestRegressor`` and creates a
)
from sklearn.tree import DecisionTreeRegressor, ExtraTreeRegressor
from sklearn.tree._tree import DTYPE
from sklearn.utils import parse_version

try:
from sklearn.utils.fixes import parse_version
except ImportError:
from sklearn.utils import parse_version

param_validation = True
try:
Expand Down

0 comments on commit 5596ca9

Please sign in to comment.