33972
scikit-learn Docs · نسخهٔ 5e9184e53cd3 · BSD-3-Clause
tree.DecisionTreeRegressor,tree.DecisionTreeClassifier,
tree.ExtraTreeRegressor, and tree.ExtraTreeClassifier now have native support for categorical features via the categorical_features parameter. Decision trees support binary classification and single-output regression (all criteria except 'absolute_error') with up to 256 categories per feature. Extra trees also support multi-class / multi-output targets with up to `2**24 - 1 categories via random hash splits. By Adam Li <adam2392>, Arthur Lacote <cakedev0>, Adrin Jalali <adrinjalali> and Christian Lorentzen <lorentzenchr>`