|
ppforest2 v0.1.0
Projection Pursuit Decision Trees and Random Forests
|
A clipped decision boundary line segment in 2D feature space. More...
#include <Visualization.hpp>
Public Attributes | |
| int | depth |
| types::Feature | x_end |
| types::Feature | x_start |
| types::Feature | y_end |
| types::Feature | y_start |
A clipped decision boundary line segment in 2D feature space.
Each segment corresponds to one split node's boundary line, clipped to the visible bounding box and to all ancestor half-space constraints. The depth field records the tree depth for potential styling (e.g., thinner lines at deeper levels).
Produced by BoundaryVisitor; consumed by the R layer as a data frame of (x_start, y_start, x_end, y_end, depth) rows, rendered with ggplot2::geom_segment().
| int ppforest2::viz::BoundarySegment::depth |
| types::Feature ppforest2::viz::BoundarySegment::x_end |
| types::Feature ppforest2::viz::BoundarySegment::x_start |
| types::Feature ppforest2::viz::BoundarySegment::y_end |
| types::Feature ppforest2::viz::BoundarySegment::y_start |