pub mod ml_pipeline;
pub mod time_series;
pub mod anomaly_detection;
pub mod clustering;
pub use ml_pipeline::*;
pub use time_series::*;
pub use anomaly_detection::*;
pub use clustering::*;
#[derive(Debug, thiserror::Error)]
pub enum MLError {
#[error("Training failed: {0}")]
TrainingFailed(String),
#[error("Prediction failed: {0}")]
PredictionFailed(String),
#[error("Invalid data: {0}")]
InvalidData(String),
#[error("Model not trained")]
ModelNotTrained,
#[error("Insufficient data: {0}")]
InsufficientData(String),
}