pub struct AdvancedStatisticalAnalyzer {
pub sample_size: usize,
pub confidence_level: f32,
}Expand description
Advanced statistical analysis for quantization
Fields§
§sample_size: usizeSample size for statistical tests
confidence_level: f32Confidence level for statistical tests (default: 0.95)
Implementations§
Source§impl AdvancedStatisticalAnalyzer
impl AdvancedStatisticalAnalyzer
Sourcepub fn new(sample_size: usize, confidence_level: f32) -> Self
pub fn new(sample_size: usize, confidence_level: f32) -> Self
Create a new statistical analyzer
Sourcepub fn test_significance(
&self,
baseline: &[f32],
quantized: &[f32],
) -> StatisticalSignificance
pub fn test_significance( &self, baseline: &[f32], quantized: &[f32], ) -> StatisticalSignificance
Perform statistical significance test
Sourcepub fn generate_comprehensive_report(
&self,
baseline_accuracy: &[f32],
quantized_accuracy: &[f32],
schemes: &[QScheme],
) -> ComprehensiveStatisticalReport
pub fn generate_comprehensive_report( &self, baseline_accuracy: &[f32], quantized_accuracy: &[f32], schemes: &[QScheme], ) -> ComprehensiveStatisticalReport
Generate comprehensive statistical report
Sourcepub fn assess_risk_level(
&self,
significance: &StatisticalSignificance,
) -> RiskLevel
pub fn assess_risk_level( &self, significance: &StatisticalSignificance, ) -> RiskLevel
Assess risk level based on statistical significance
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AdvancedStatisticalAnalyzer
impl RefUnwindSafe for AdvancedStatisticalAnalyzer
impl Send for AdvancedStatisticalAnalyzer
impl Sync for AdvancedStatisticalAnalyzer
impl Unpin for AdvancedStatisticalAnalyzer
impl UnsafeUnpin for AdvancedStatisticalAnalyzer
impl UnwindSafe for AdvancedStatisticalAnalyzer
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