Skip to content

Commit

Permalink
fixup! FIX Support read-only sparse datasets for Tree-based estimat…
Browse files Browse the repository at this point in the history
…ors (#25341)
  • Loading branch information
jjerphan authored and adrinjalali committed Jan 24, 2023
1 parent 79da465 commit d6e99ba
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions sklearn/ensemble/tests/test_forest.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import math
from collections import defaultdict
import itertools
from functools import partial
from itertools import combinations
from itertools import product
from typing import Dict, Any
Expand Down Expand Up @@ -46,12 +47,7 @@
from sklearn.ensemble import RandomForestClassifier
from sklearn.ensemble import RandomForestRegressor
from sklearn.ensemble import RandomTreesEmbedding
<<<<<<< HEAD
from sklearn.model_selection import train_test_split
=======
from sklearn.metrics import explained_variance_score, f1_score
from sklearn.model_selection import train_test_split, cross_val_score
>>>>>>> c3fca81536 (FIX Support read-only sparse datasets for `Tree`-based estimators (#25341))
from sklearn.model_selection import GridSearchCV
from sklearn.svm import LinearSVC
from sklearn.utils.parallel import Parallel
Expand Down

0 comments on commit d6e99ba

Please sign in to comment.