pub struct ComparativeAnalyzer { /* private fields */ }Expand description
Main comparative analysis engine
Implementations§
Source§impl ComparativeAnalyzer
impl ComparativeAnalyzer
Sourcepub fn with_alpha(self, alpha: f64) -> Self
pub fn with_alpha(self, alpha: f64) -> Self
Set significance level
Sourcepub fn with_random_state(self, seed: u64) -> Self
pub fn with_random_state(self, seed: u64) -> Self
Set random state for reproducible results
Sourcepub fn with_correction(self, correction: MultipleComparisonCorrection) -> Self
pub fn with_correction(self, correction: MultipleComparisonCorrection) -> Self
Set multiple comparison correction method
Sourcepub fn significance_test(
&self,
group_a: &Array1<f64>,
group_b: &Array1<f64>,
test_type: SignificanceTest,
effect_size_measure: EffectSizeMeasure,
) -> Result<SignificanceTestResult, SklearsError>
pub fn significance_test( &self, group_a: &Array1<f64>, group_b: &Array1<f64>, test_type: SignificanceTest, effect_size_measure: EffectSizeMeasure, ) -> Result<SignificanceTestResult, SklearsError>
Perform statistical significance test between two groups
Sourcepub fn effect_size(
&self,
group_a: &Array1<f64>,
group_b: &Array1<f64>,
measure: EffectSizeMeasure,
) -> Result<EffectSizeResult, SklearsError>
pub fn effect_size( &self, group_a: &Array1<f64>, group_b: &Array1<f64>, measure: EffectSizeMeasure, ) -> Result<EffectSizeResult, SklearsError>
Compute effect size between two groups
Sourcepub fn compare_models(
&self,
model_names: Vec<String>,
cv_scores: Vec<Array1<f64>>,
) -> Result<ModelComparisonResult, SklearsError>
pub fn compare_models( &self, model_names: Vec<String>, cv_scores: Vec<Array1<f64>>, ) -> Result<ModelComparisonResult, SklearsError>
Compare multiple models using cross-validation scores
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ComparativeAnalyzer
impl RefUnwindSafe for ComparativeAnalyzer
impl Send for ComparativeAnalyzer
impl Sync for ComparativeAnalyzer
impl Unpin for ComparativeAnalyzer
impl UnwindSafe for ComparativeAnalyzer
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