|
ppforest2 v0.1.0
Projection Pursuit Decision Trees and Random Forests
|
Layout parameters for tree structure rendering. More...
#include <Visualization.hpp>
Public Attributes | |
| types::Feature | gap = 0.2f |
| Horizontal gap between sibling subtrees. | |
| types::Feature | leaf_h = 0.3f |
| Leaf node height. | |
| types::Feature | leaf_w = 0.5f |
| Leaf node width. | |
| types::Feature | node_h = 0.7f |
| Internal node height. | |
| types::Feature | node_w = 0.8f |
| Internal node width. | |
| types::Feature | y_spacing = 1.5f |
| Vertical distance between depth levels. | |
Layout parameters for tree structure rendering.
Controls spacing and dimensions used by compute_tree_layout(). Node dimensions must match the R-side constants (ppforest2_node_w, etc.) so that histogram bars and leaf labels align with the rectangles.
| types::Feature ppforest2::viz::LayoutParams::gap = 0.2f |
Horizontal gap between sibling subtrees.
| types::Feature ppforest2::viz::LayoutParams::leaf_h = 0.3f |
Leaf node height.
| types::Feature ppforest2::viz::LayoutParams::leaf_w = 0.5f |
Leaf node width.
| types::Feature ppforest2::viz::LayoutParams::node_h = 0.7f |
Internal node height.
| types::Feature ppforest2::viz::LayoutParams::node_w = 0.8f |
Internal node width.
| types::Feature ppforest2::viz::LayoutParams::y_spacing = 1.5f |
Vertical distance between depth levels.