Skip to content

Commit 600187a

Browse files
committed
Merging main
Signed-off-by: Adam Li <adam2392@gmail.com>
1 parent 1f1cbd9 commit 600187a

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

sklearn/ensemble/_forest.py

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ class calls the ``fit`` method of each sub-estimator on random samples
6767
check_classification_targets,
6868
type_of_target,
6969
)
70+
from sklearn.utils._tags import get_tags
7071
from sklearn.utils.parallel import Parallel, delayed
7172
from sklearn.utils.validation import (
7273
_check_feature_names_in,
@@ -83,18 +84,7 @@ class calls the ``fit`` method of each sub-estimator on random samples
8384
ExtraTreeRegressor,
8485
)
8586
from ..tree._tree import DOUBLE, DTYPE
86-
from ..utils import check_random_state, compute_sample_weight
87-
from ..utils._param_validation import Interval, RealNotInt, StrOptions
88-
from ..utils._tags import get_tags
89-
from ..utils.multiclass import check_classification_targets, type_of_target
90-
from ..utils.parallel import Parallel, delayed
91-
from ..utils.validation import (
92-
_check_feature_names_in,
93-
_check_sample_weight,
94-
_num_samples,
95-
check_is_fitted,
96-
)
97-
from ._base import BaseEnsemble, _partition_estimators
87+
9888

9989
__all__ = [
10090
"RandomForestClassifier",

0 commit comments

Comments
 (0)