use sklears_core::error::{Result as SklResult, SklearsError};
#[derive(Debug, Clone)]
pub struct StatisticalTesting;
impl StatisticalTesting {
pub fn test_significance(_features: &[usize]) -> SklResult<f64> {
Err(SklearsError::NotImplemented(
"StatisticalTesting::test_significance is not yet implemented".to_string(),
))
}
}
#[derive(Debug, Clone)]
pub struct PermutationTests;
impl PermutationTests {
pub fn permutation_test(_features: &[usize], _n_permutations: usize) -> SklResult<f64> {
Err(SklearsError::NotImplemented(
"PermutationTests::permutation_test is not yet implemented".to_string(),
))
}
}
#[derive(Debug, Clone)]
pub struct SignificanceAnalysis;
impl SignificanceAnalysis {
pub fn analyze_significance(_features: &[usize]) -> SklResult<Vec<f64>> {
Err(SklearsError::NotImplemented(
"SignificanceAnalysis::analyze_significance is not yet implemented".to_string(),
))
}
}
#[derive(Debug, Clone)]
pub struct MultipleComparisonsCorrection;
impl MultipleComparisonsCorrection {
pub fn bonferroni_correction(_p_values: &[f64]) -> SklResult<Vec<f64>> {
Err(SklearsError::NotImplemented(
"MultipleComparisonsCorrection::bonferroni_correction is not yet implemented"
.to_string(),
))
}
pub fn fdr_correction(_p_values: &[f64]) -> SklResult<Vec<f64>> {
Err(SklearsError::NotImplemented(
"MultipleComparisonsCorrection::fdr_correction is not yet implemented".to_string(),
))
}
}
#[derive(Debug, Clone)]
pub struct PowerAnalysis;
impl PowerAnalysis {
pub fn compute_power(_effect_size: f64, _sample_size: usize) -> SklResult<f64> {
Err(SklearsError::NotImplemented(
"PowerAnalysis::compute_power is not yet implemented".to_string(),
))
}
}