Skip to content

Commit

Permalink
Merging main
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Li <[email protected]>
  • Loading branch information
adam2392 committed Sep 5, 2024
1 parent 1f1cbd9 commit 600187a
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions sklearn/ensemble/_forest.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ class calls the ``fit`` method of each sub-estimator on random samples
check_classification_targets,
type_of_target,
)
from sklearn.utils._tags import get_tags
from sklearn.utils.parallel import Parallel, delayed
from sklearn.utils.validation import (
_check_feature_names_in,
Expand All @@ -83,18 +84,7 @@ class calls the ``fit`` method of each sub-estimator on random samples
ExtraTreeRegressor,
)
from ..tree._tree import DOUBLE, DTYPE
from ..utils import check_random_state, compute_sample_weight
from ..utils._param_validation import Interval, RealNotInt, StrOptions
from ..utils._tags import get_tags
from ..utils.multiclass import check_classification_targets, type_of_target
from ..utils.parallel import Parallel, delayed
from ..utils.validation import (
_check_feature_names_in,
_check_sample_weight,
_num_samples,
check_is_fitted,
)
from ._base import BaseEnsemble, _partition_estimators


__all__ = [
"RandomForestClassifier",
Expand Down

0 comments on commit 600187a

Please sign in to comment.