pub struct InteractiveVisualizer { /* private fields */ }Expand description
Interactive visualization engine
Implementations§
Source§impl InteractiveVisualizer
impl InteractiveVisualizer
Sourcepub fn with_config(config: InteractiveVisualizationConfig) -> Self
pub fn with_config(config: InteractiveVisualizationConfig) -> Self
Create visualizer with custom configuration
Sourcepub fn with_output_dir<P: AsRef<Path>>(self, path: P) -> Self
pub fn with_output_dir<P: AsRef<Path>>(self, path: P) -> Self
Set output directory
Sourcepub fn add_plot(&mut self, plot: InteractivePlot)
pub fn add_plot(&mut self, plot: InteractivePlot)
Add a new interactive plot
Sourcepub fn canonical_scatter(
&mut self,
x_canonical: ArrayView1<'_, f64>,
y_canonical: ArrayView1<'_, f64>,
labels: Option<Vec<String>>,
) -> Result<(), VisualizationError>
pub fn canonical_scatter( &mut self, x_canonical: ArrayView1<'_, f64>, y_canonical: ArrayView1<'_, f64>, labels: Option<Vec<String>>, ) -> Result<(), VisualizationError>
Create canonical correlation scatter plot
Sourcepub fn loading_heatmap(
&mut self,
loadings: ArrayView2<'_, f64>,
feature_names: Option<Vec<String>>,
component_names: Option<Vec<String>>,
) -> Result<(), VisualizationError>
pub fn loading_heatmap( &mut self, loadings: ArrayView2<'_, f64>, feature_names: Option<Vec<String>>, component_names: Option<Vec<String>>, ) -> Result<(), VisualizationError>
Create component loading heatmap
Sourcepub fn correlation_network(
&mut self,
correlation_matrix: ArrayView2<'_, f64>,
variable_names: Option<Vec<String>>,
threshold: f64,
) -> Result<(), VisualizationError>
pub fn correlation_network( &mut self, correlation_matrix: ArrayView2<'_, f64>, variable_names: Option<Vec<String>>, threshold: f64, ) -> Result<(), VisualizationError>
Create correlation network visualization
Sourcepub fn scatter_3d(
&mut self,
x: ArrayView1<'_, f64>,
y: ArrayView1<'_, f64>,
z: ArrayView1<'_, f64>,
colors: Option<ArrayView1<'_, f64>>,
labels: Option<Vec<String>>,
) -> Result<(), VisualizationError>
pub fn scatter_3d( &mut self, x: ArrayView1<'_, f64>, y: ArrayView1<'_, f64>, z: ArrayView1<'_, f64>, colors: Option<ArrayView1<'_, f64>>, labels: Option<Vec<String>>, ) -> Result<(), VisualizationError>
Create 3D scatter plot for multi-view data
Sourcepub fn generate_html(&self, filename: &str) -> Result<(), VisualizationError>
pub fn generate_html(&self, filename: &str) -> Result<(), VisualizationError>
Generate HTML output with interactive plots
Trait Implementations§
Source§impl Debug for InteractiveVisualizer
impl Debug for InteractiveVisualizer
Auto Trait Implementations§
impl Freeze for InteractiveVisualizer
impl RefUnwindSafe for InteractiveVisualizer
impl Send for InteractiveVisualizer
impl Sync for InteractiveVisualizer
impl Unpin for InteractiveVisualizer
impl UnwindSafe for InteractiveVisualizer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more