Holt-Winters parameters, fitted state and residual statistics.
More...
#include <fx_holt_winters_state.h>
Holt-Winters parameters, fitted state and residual statistics.
This struct encapsulates the parameters and state variables required by the Holt-Winters algorithm to generate forecasts. The members include:
- Note
- The state variables are updated as new data is processed, allowing the model to adapt to changes in the underlying time series.
◆ alpha
| double Holt_Winters_State::alpha {0.3} |
◆ beta
| double Holt_Winters_State::beta {0.1} |
◆ gamma
| double Holt_Winters_State::gamma {0.05} |
◆ initialized
| bool Holt_Winters_State::initialized {false} |
◆ last_idx
| int64_t Holt_Winters_State::last_idx {-1} |
◆ last_ts
| int64_t Holt_Winters_State::last_ts {0} |
◆ level
| double Holt_Winters_State::level {0.0} |
| int Holt_Winters_State::m {1440} |
◆ next_metric
| unsigned int Holt_Winters_State::next_metric {0} |
◆ residual_stats
◆ sample_seconds
| int Holt_Winters_State::sample_seconds {60} |
◆ season
| std::vector<double> Holt_Winters_State::season |
◆ trend
| double Holt_Winters_State::trend {0.0} |
The documentation for this struct was generated from the following file: