pub struct AdvancedAnalytics { /* private fields */ }Expand description
Advanced analytics engine for model behavior analysis.
Implementations§
Source§impl AdvancedAnalytics
impl AdvancedAnalytics
Sourcepub fn with_config(config: AnalyticsConfig) -> Self
pub fn with_config(config: AnalyticsConfig) -> Self
Create analytics engine with custom configuration.
Record hidden state data for analysis.
Sourcepub fn record_performance_metrics(&mut self, metrics: &ModelPerformanceMetrics)
pub fn record_performance_metrics(&mut self, metrics: &ModelPerformanceMetrics)
Record performance metrics for correlation analysis.
Perform comprehensive hidden state analysis.
Sourcepub fn perform_clustering_analysis(
&self,
data: &[Vec<f64>],
) -> Result<ClusteringResults>
pub fn perform_clustering_analysis( &self, data: &[Vec<f64>], ) -> Result<ClusteringResults>
Perform clustering analysis on hidden states.
Sourcepub fn analyze_temporal_dynamics(
&self,
layer_data: &[&HiddenStateData],
) -> Result<TemporalDynamics>
pub fn analyze_temporal_dynamics( &self, layer_data: &[&HiddenStateData], ) -> Result<TemporalDynamics>
Analyze temporal dynamics of hidden states.
Sourcepub fn assess_representation_stability(
&self,
hidden_states: &[Vec<f64>],
) -> Result<RepresentationStability>
pub fn assess_representation_stability( &self, hidden_states: &[Vec<f64>], ) -> Result<RepresentationStability>
Assess representation stability.
Sourcepub fn generate_activation_heatmap(
&self,
layer_stats: &[LayerActivationStats],
) -> Result<ActivationHeatmap>
pub fn generate_activation_heatmap( &self, layer_stats: &[LayerActivationStats], ) -> Result<ActivationHeatmap>
Generate activation heatmap for visualization.
Sourcepub fn detect_performance_anomalies(&self) -> Result<AnomalyDetectionResults>
pub fn detect_performance_anomalies(&self) -> Result<AnomalyDetectionResults>
Perform anomaly detection on performance metrics.
Sourcepub fn calculate_correlation_matrix(&self) -> Result<Vec<Vec<f64>>>
pub fn calculate_correlation_matrix(&self) -> Result<Vec<Vec<f64>>>
Calculate correlation matrix for all metrics.
Sourcepub fn perform_statistical_analysis(&self) -> Result<StatisticalAnalysis>
pub fn perform_statistical_analysis(&self) -> Result<StatisticalAnalysis>
Perform statistical analysis on collected data.
Sourcepub fn generate_analytics_report(&self) -> Result<AnalyticsReport>
pub fn generate_analytics_report(&self) -> Result<AnalyticsReport>
Generate comprehensive analytics report.
Trait Implementations§
Source§impl Debug for AdvancedAnalytics
impl Debug for AdvancedAnalytics
Auto Trait Implementations§
impl Freeze for AdvancedAnalytics
impl RefUnwindSafe for AdvancedAnalytics
impl Send for AdvancedAnalytics
impl Sync for AdvancedAnalytics
impl Unpin for AdvancedAnalytics
impl UnsafeUnpin for AdvancedAnalytics
impl UnwindSafe for AdvancedAnalytics
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.