| Crates.io | augurs-ets |
| lib.rs | augurs-ets |
| version | 0.10.1 |
| created_at | 2023-09-25 08:03:21.873185+00 |
| updated_at | 2025-09-08 11:36:47.922706+00 |
| description | ETS models for augurs |
| homepage | |
| repository | https://github.com/grafana/augurs |
| max_upload_size | |
| id | 982455 |
| size | 156,179 |
This crate provides exponential smoothing models for time series forecasting
in the augurs framework. The models are implemented entirely in Rust and are based
on the statsforecast Python package.
Important: This crate is still in development and the API is subject to change. Seasonal models are not yet implemented, and some model types have not been tested.
use augurs::ets::AutoETS;
let data: Vec<_> = (0..10).map(|x| x as f64).collect();
let mut search = AutoETS::new(1, "ZZN")
.expect("ZZN is a valid model search specification string");
let model = search.fit(&data).expect("fit should succeed");
let forecast = model.predict(5, 0.95);
assert_eq!(forecast.point.len(), 5);
assert_eq!(forecast.point, vec![10.0, 11.0, 12.0, 13.0, 14.0]);
This implementation is based heavily on the statsforecast implementation.