Skip to main content

Module ml

Module ml 

Source
Expand description

Typed machine-learning training, evaluation, and inference errors.

These types mirror the stable concepts exposed by the Python DataExcept project while remaining idiomatic Rust errors.

Structsยง

ConvergenceError
Raised when model optimization fails to converge.
CrossValidationError
Raised when cross-validation fails.
HyperparameterError
Raised for an invalid hyperparameter setting.
ModelEvaluationError
Raised when evaluation-metric computation fails.
ModelInferenceError
Raised when model inference fails.
ModelTrainingError
Raised when model training fails.
PredictionError
Raised when making a prediction fails.
TrainingTimeoutError
Raised when model training exceeds its time limit.