File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -63,13 +63,6 @@ class calls the ``fit`` method of each sub-estimator on random samples
63
63
from sklearn .exceptions import DataConversionWarning
64
64
from sklearn .metrics import accuracy_score , r2_score
65
65
from sklearn .preprocessing import OneHotEncoder
66
- from sklearn .tree import (
67
- BaseDecisionTree ,
68
- DecisionTreeClassifier ,
69
- DecisionTreeRegressor ,
70
- ExtraTreeClassifier ,
71
- ExtraTreeRegressor ,
72
- )
73
66
from sklearn .utils import check_random_state , compute_sample_weight
74
67
from sklearn .utils ._openmp_helpers import _openmp_effective_n_threads
75
68
from sklearn .utils ._param_validation import Interval , RealNotInt , StrOptions
@@ -82,6 +75,13 @@ class calls the ``fit`` method of each sub-estimator on random samples
82
75
check_is_fitted ,
83
76
)
84
77
78
+ from ..tree import (
79
+ BaseDecisionTree ,
80
+ DecisionTreeClassifier ,
81
+ DecisionTreeRegressor ,
82
+ ExtraTreeClassifier ,
83
+ ExtraTreeRegressor ,
84
+ )
85
85
from ..tree ._tree import DOUBLE , DTYPE
86
86
87
87
__all__ = [
You can’t perform that action at this time.
0 commit comments