pub trait TreePathViz {
// Required methods
fn to_tree_graph(&self) -> Result<Framebuffer>;
fn to_tree_graph_with(&self, width: u32, height: u32) -> Result<Framebuffer>;
fn to_waterfall_chart(&self, feature_names: &[&str]) -> Result<Framebuffer>;
}Expand description
Visualization extensions for tree-based decision paths.
Required Methods§
Sourcefn to_tree_graph(&self) -> Result<Framebuffer>
fn to_tree_graph(&self) -> Result<Framebuffer>
Render the decision path as a tree graph.
Sourcefn to_tree_graph_with(&self, width: u32, height: u32) -> Result<Framebuffer>
fn to_tree_graph_with(&self, width: u32, height: u32) -> Result<Framebuffer>
Render with custom dimensions.
Sourcefn to_waterfall_chart(&self, feature_names: &[&str]) -> Result<Framebuffer>
fn to_waterfall_chart(&self, feature_names: &[&str]) -> Result<Framebuffer>
Create a waterfall chart showing cumulative decision impact.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".