col_gen_estimator.Path¶
- class col_gen_estimator.Path[source]¶
All path related information.
- Attributes:
- leaf_id: (int) ID of the associated leaf.
- node_ids: (list(int)) IDs of the nodes in the path.
- splits: (list(int)) IDs of the selected splits for nodes in the path.
The order of splits must match the order of nodes.
- cost: (int) Number of rows following the path with correct target.
- id: (int) ID of the path.
- target: (int) Associated target of the path.
Examples using col_gen_estimator.Path¶
sphx_glr_auto_examples_dtree_experiment.py
Code to launch decision tree experiments.