pub struct ModelDiagnostics {
pub rmse: f64,
pub mae: f64,
pub mape: Option<f64>,
pub smape: Option<f64>,
pub acf: Vec<f64>,
pub ljung_box: Option<LjungBoxResult>,
pub bic: Option<f64>,
pub aicc: Option<f64>,
}Expand description
All-in-one diagnostics report for a fitted forecast model.
Fields§
§rmse: f64RMSE of in-sample residuals.
mae: f64MAE of in-sample residuals.
mape: Option<f64>MAPE (if computable — None when actuals contain zeros).
smape: Option<f64>sMAPE.
acf: Vec<f64>Sample autocorrelation function of residuals.
ljung_box: Option<LjungBoxResult>Ljung-Box test result.
bic: Option<f64>BIC.
aicc: Option<f64>AICc.
Trait Implementations§
Source§impl Clone for ModelDiagnostics
impl Clone for ModelDiagnostics
Source§fn clone(&self) -> ModelDiagnostics
fn clone(&self) -> ModelDiagnostics
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ModelDiagnostics
impl RefUnwindSafe for ModelDiagnostics
impl Send for ModelDiagnostics
impl Sync for ModelDiagnostics
impl Unpin for ModelDiagnostics
impl UnsafeUnpin for ModelDiagnostics
impl UnwindSafe for ModelDiagnostics
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more