pub struct ProphetPrediction {
pub yhat: Array1<f64>,
pub yhat_lower: Option<Array1<f64>>,
pub yhat_upper: Option<Array1<f64>>,
pub trend: Array1<f64>,
pub trend_lower: Option<Array1<f64>>,
pub trend_upper: Option<Array1<f64>>,
pub seasonal: Array1<f64>,
pub seasonalities: HashMap<String, Array1<f64>>,
pub seasonalities_lower: HashMap<String, Array1<f64>>,
pub seasonalities_upper: HashMap<String, Array1<f64>>,
pub holidays: Array1<f64>,
}Fields§
§yhat: Array1<f64>Combined forecast: trend + seasonality + holidays
yhat_lower: Option<Array1<f64>>§yhat_upper: Option<Array1<f64>>§trend: Array1<f64>Isolated g(t) trend signal
trend_lower: Option<Array1<f64>>§trend_upper: Option<Array1<f64>>§seasonal: Array1<f64>Aggregated seasonal effects (sum of all Fourier orders)
seasonalities: HashMap<String, Array1<f64>>Breakdown of individual seasonality terms by name (e.g., “yearly”, “weekly”)
seasonalities_lower: HashMap<String, Array1<f64>>§seasonalities_upper: HashMap<String, Array1<f64>>§holidays: Array1<f64>Aggregated holiday adjustments
Implementations§
Trait Implementations§
Source§impl Clone for ProphetPrediction
impl Clone for ProphetPrediction
Source§fn clone(&self) -> ProphetPrediction
fn clone(&self) -> ProphetPrediction
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 moreSource§impl Debug for ProphetPrediction
impl Debug for ProphetPrediction
Source§impl<'de> Deserialize<'de> for ProphetPrediction
impl<'de> Deserialize<'de> for ProphetPrediction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ProphetPrediction
impl RefUnwindSafe for ProphetPrediction
impl Send for ProphetPrediction
impl Sync for ProphetPrediction
impl Unpin for ProphetPrediction
impl UnsafeUnpin for ProphetPrediction
impl UnwindSafe for ProphetPrediction
Blanket Implementations§
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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