package holt_winters
import "github.com/influxdata/flux/stdlib/universe/holt_winters"
Index ¶
Types ¶
type HoltWinters ¶
type HoltWinters struct {
// contains filtered or unexported fields
}
HoltWinters forecasts a series into the future. This is done using the Holt-Winters damped method.
- The initial values are calculated using a SSE.
- The series is forecast into the future using the iterative relations.
func New ¶
func New(n, s int, withFit bool, alloc memory.Allocator) *HoltWinters
New creates a new HoltWinters. HoltWinters uses the given allocator for memory tracking purposes, and in order to build its result.
func (*HoltWinters) Do ¶
Do returns the points generated by the HoltWinters algorithm given a dataset.
Source Files ¶
- Version
- v0.196.1 (latest)
- Published
- Feb 19, 2025
- Platform
- linux/amd64
- Imports
- 6 packages
- Last checked
- 1 day ago –
Tools for package owners.