module mlmodel.piecewise_tree_regression_criterion
#
Short summary#
module mlinsights.mlmodel.piecewise_tree_regression_criterion
Implements a base class for a custom criterion to train a decision tree.
Classes#
class |
truncated documentation |
---|---|
Implements mean square error criterion in a non efficient … |
Documentation#
@file @brief Implements a base class for a custom criterion to train a decision tree.
- class mlinsights.mlmodel.piecewise_tree_regression_criterion.SimpleRegressorCriterion#
Bases:
CommonRegressorCriterion
Implements mean square error criterion in a non efficient way. The code was inspired from hellinger_distance_criterion.pyx, Cython example of exposing C-computed arrays in Python without data copies, _criterion.pyx. This implementation is not efficient but was made that way on purpose. It adds the features to the class.
- __getstate__(self)#
- __new__(**kwargs)#
- __pyx_vtable__ = <capsule object NULL>#
- __reduce_cython__(self)#
- __setstate__(self, d)#
- __setstate_cython__(self, __pyx_state)#