pub struct FluentStats<F>{ /* private fields */ }Expand description
Enhanced fluent statistics API builder
Implementations§
Source§impl<F> FluentStats<F>
impl<F> FluentStats<F>
Sourcepub fn with_config(config: FluentStatsConfig) -> Self
pub fn with_config(config: FluentStatsConfig) -> Self
Create with custom configuration
Sourcepub fn confidence(self, level: f64) -> Self
pub fn confidence(self, level: f64) -> Self
Set confidence level
Sourcepub fn null_handling(self, strategy: NullHandling) -> Self
pub fn null_handling(self, strategy: NullHandling) -> Self
Set null handling strategy
Sourcepub fn memory_limit(self, limit: usize) -> Self
pub fn memory_limit(self, limit: usize) -> Self
Set memory limit
Sourcepub fn optimization(self, level: AutoOptimizationLevel) -> Self
pub fn optimization(self, level: AutoOptimizationLevel) -> Self
Set auto-optimization level
Sourcepub fn format(self, format: ResultFormat) -> Self
pub fn format(self, format: ResultFormat) -> Self
Set result format
Sourcepub fn descriptive(self) -> FluentDescriptive<F>
pub fn descriptive(self) -> FluentDescriptive<F>
Add descriptive statistics operation
Sourcepub fn correlation(self) -> FluentCorrelation<F>
pub fn correlation(self) -> FluentCorrelation<F>
Add correlation analysis operation
Sourcepub fn test(self) -> FluentTesting<F>
pub fn test(self) -> FluentTesting<F>
Add hypothesis testing operation
Sourcepub fn regression(self) -> FluentRegression<F>
pub fn regression(self) -> FluentRegression<F>
Add regression analysis operation
Sourcepub fn execute(&mut self) -> StatsResult<ChainedResults<F>>
pub fn execute(&mut self) -> StatsResult<ChainedResults<F>>
Execute the operation chain
Trait Implementations§
Auto Trait Implementations§
impl<F> Freeze for FluentStats<F>
impl<F> RefUnwindSafe for FluentStats<F>where
F: RefUnwindSafe,
impl<F> Send for FluentStats<F>
impl<F> Sync for FluentStats<F>
impl<F> Unpin for FluentStats<F>where
F: Unpin,
impl<F> UnwindSafe for FluentStats<F>where
F: UnwindSafe,
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
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.