pub struct StatisticsCalculator { /* private fields */ }Expand description
Advanced statistics calculator for pattern analysis
Implementations§
Source§impl StatisticsCalculator
impl StatisticsCalculator
Sourcepub fn calculate_confidence_interval(
&self,
values: &[f64],
) -> ConfidenceInterval
pub fn calculate_confidence_interval( &self, values: &[f64], ) -> ConfidenceInterval
Calculate confidence interval for a set of values Uses t-distribution approximation for small samples
Sourcepub fn value_confidence_interval(
&self,
result: &QueryResult,
) -> ConfidenceInterval
pub fn value_confidence_interval( &self, result: &QueryResult, ) -> ConfidenceInterval
Calculate confidence interval for values
Sourcepub fn match_rate_confidence_interval(
&self,
matches: usize,
total: usize,
) -> ConfidenceInterval
pub fn match_rate_confidence_interval( &self, matches: usize, total: usize, ) -> ConfidenceInterval
Calculate confidence interval for match rate using Wilson score interval
Sourcepub fn generate_report(
&self,
query_result: &QueryResult,
) -> Result<StatisticsReport>
pub fn generate_report( &self, query_result: &QueryResult, ) -> Result<StatisticsReport>
Generate comprehensive statistics report
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StatisticsCalculator
impl RefUnwindSafe for StatisticsCalculator
impl Send for StatisticsCalculator
impl Sync for StatisticsCalculator
impl Unpin for StatisticsCalculator
impl UnsafeUnpin for StatisticsCalculator
impl UnwindSafe for StatisticsCalculator
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 more