sklears_feature_selection/evaluation/
advanced_evaluation.rs1use sklears_core::error::{Result as SklResult, SklearsError};
7
8#[derive(Debug, Clone)]
10pub struct BayesianEvaluation;
11
12impl BayesianEvaluation {
13 pub fn bayesian_model_comparison(_features1: &[usize], _features2: &[usize]) -> SklResult<f64> {
15 Err(SklearsError::NotImplemented(
16 "BayesianEvaluation::bayesian_model_comparison is not yet implemented".to_string(),
17 ))
18 }
19
20 pub fn posterior_feature_probability(_features: &[usize]) -> SklResult<Vec<f64>> {
22 Err(SklearsError::NotImplemented(
23 "BayesianEvaluation::posterior_feature_probability is not yet implemented".to_string(),
24 ))
25 }
26}
27
28#[derive(Debug, Clone)]
30pub struct CausalFeatureEvaluation;
31
32impl CausalFeatureEvaluation {
33 pub fn causal_importance(_features: &[usize]) -> SklResult<Vec<f64>> {
35 Err(SklearsError::NotImplemented(
36 "CausalFeatureEvaluation::causal_importance is not yet implemented".to_string(),
37 ))
38 }
39
40 pub fn confounding_analysis(_features: &[usize]) -> SklResult<f64> {
42 Err(SklearsError::NotImplemented(
43 "CausalFeatureEvaluation::confounding_analysis is not yet implemented".to_string(),
44 ))
45 }
46}
47
48#[derive(Debug, Clone)]
50pub struct DomainSpecificEvaluation;
51
52impl DomainSpecificEvaluation {
53 pub fn evaluate_for_domain(_features: &[usize], _domain: &str) -> SklResult<f64> {
55 Err(SklearsError::NotImplemented(
56 "DomainSpecificEvaluation::evaluate_for_domain is not yet implemented".to_string(),
57 ))
58 }
59}
60
61#[derive(Debug, Clone)]
63pub struct TransferLearningEvaluation;
64
65impl TransferLearningEvaluation {
66 pub fn evaluate_transferability(
68 _source_features: &[usize],
69 _target_features: &[usize],
70 ) -> SklResult<f64> {
71 Err(SklearsError::NotImplemented(
72 "TransferLearningEvaluation::evaluate_transferability is not yet implemented"
73 .to_string(),
74 ))
75 }
76}
77
78#[derive(Debug, Clone)]
80pub struct OnlineEvaluation;
81
82impl OnlineEvaluation {
83 pub fn incremental_evaluation(_features: &[usize], _batch_size: usize) -> SklResult<Vec<f64>> {
85 Err(SklearsError::NotImplemented(
86 "OnlineEvaluation::incremental_evaluation is not yet implemented".to_string(),
87 ))
88 }
89
90 pub fn streaming_performance(_features: &[usize], _window_size: usize) -> SklResult<Vec<f64>> {
92 Err(SklearsError::NotImplemented(
93 "OnlineEvaluation::streaming_performance is not yet implemented".to_string(),
94 ))
95 }
96}