pub trait Fit {
type Fitted: Predict;
type Error: ModelError;
// Required method
fn fit(&self, y: &[f64]) -> Result<Self::Fitted, Self::Error>;
}Expand description
A new, unfitted time series forecasting model.
Required Associated Types§
Sourcetype Error: ModelError
type Error: ModelError
The type of error returned when fitting the model.