API Reference / sklearn /

trees.py

scikit-learn trees wrappers.

Generated from the TREES table in specs. Registered under sklearn. hub keys, mirroring the native TuiML trees family.

Classes

DecisionTreeClassifier

class sklearn.trees.DecisionTreeClassifier(_SklearnBackedMixin, Classifier)

scikit-learn DecisionTreeClassifier (hub key sklearn.DecisionTreeClassifier).

Wraps DecisionTreeClassifier. Accepts that estimator's constructor parameters as keyword arguments; call get_parameter_schema for the full list with types and defaults derived from the installed scikit-learn.

Commonly set: criterion, max_depth, random_state.

Constructor
__init__(
    self,
    **params,
)

Methods

__init__ (self, **params)
get_parameter_schema (cls) -> Dict[str, Any]

Return JSON Schema for constructor parameters.

get_capabilities (cls) -> List[str]

Return the capability names this wrapper supports.

ExtraTreeClassifier

class sklearn.trees.ExtraTreeClassifier(_SklearnBackedMixin, Classifier)

scikit-learn ExtraTreeClassifier (hub key sklearn.ExtraTreeClassifier).

Wraps ExtraTreeClassifier. Accepts that estimator's constructor parameters as keyword arguments; call get_parameter_schema for the full list with types and defaults derived from the installed scikit-learn.
Constructor
__init__(
    self,
    **params,
)

Methods

__init__ (self, **params)
get_parameter_schema (cls) -> Dict[str, Any]

Return JSON Schema for constructor parameters.

get_capabilities (cls) -> List[str]

Return the capability names this wrapper supports.

DecisionTreeRegressor

class sklearn.trees.DecisionTreeRegressor(_SklearnBackedMixin, Regressor)

scikit-learn DecisionTreeRegressor (hub key sklearn.DecisionTreeRegressor).

Wraps DecisionTreeRegressor. Accepts that estimator's constructor parameters as keyword arguments; call get_parameter_schema for the full list with types and defaults derived from the installed scikit-learn.

Commonly set: criterion, max_depth, random_state.

Constructor
__init__(
    self,
    **params,
)

Methods

__init__ (self, **params)
get_parameter_schema (cls) -> Dict[str, Any]

Return JSON Schema for constructor parameters.

get_capabilities (cls) -> List[str]

Return the capability names this wrapper supports.

ExtraTreeRegressor

class sklearn.trees.ExtraTreeRegressor(_SklearnBackedMixin, Regressor)

scikit-learn ExtraTreeRegressor (hub key sklearn.ExtraTreeRegressor).

Wraps ExtraTreeRegressor. Accepts that estimator's constructor parameters as keyword arguments; call get_parameter_schema for the full list with types and defaults derived from the installed scikit-learn.
Constructor
__init__(
    self,
    **params,
)

Methods

__init__ (self, **params)
get_parameter_schema (cls) -> Dict[str, Any]

Return JSON Schema for constructor parameters.

get_capabilities (cls) -> List[str]

Return the capability names this wrapper supports.