holtwinters_params.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2019-2025, NVIDIA CORPORATION.
3  * SPDX-License-Identifier: Apache-2.0
4  */
5 
6 #pragma once
7 
8 namespace ML {
9 
10 // The type of season that represents the time-series
11 // ADDITIVE is with stable trend and level over periods
12 // MULTIPLICATIVE is with increasing/decreasing trend and level over periods
14 
20 };
21 
22 // These are the parameters used for optimizing alpha, beta, and gamma values
23 template <typename Dtype>
24 struct OptimParams {
25  Dtype eps;
32  Dtype linesearch_c;
34 };
35 
36 enum Norm { L0, L1, L2, LINF };
37 
38 } // namespace ML
Definition: dbscan.hpp:18
Norm
Definition: holtwinters_params.h:36
@ L1
Definition: params.hpp:23
@ L2
Definition: params.hpp:23
@ L0
Definition: holtwinters_params.h:36
@ LINF
Definition: holtwinters_params.h:36
OptimCriterion
Definition: holtwinters_params.h:15
@ OPTIM_MIN_ERROR_DIFF
Definition: holtwinters_params.h:18
@ OPTIM_MIN_GRAD_NORM
Definition: holtwinters_params.h:19
@ OPTIM_BFGS_ITER_LIMIT
Definition: holtwinters_params.h:16
@ OPTIM_MIN_PARAM_DIFF
Definition: holtwinters_params.h:17
SeasonalType
Definition: holtwinters_params.h:13
@ MULTIPLICATIVE
Definition: holtwinters_params.h:13
@ ADDITIVE
Definition: holtwinters_params.h:13
Definition: holtwinters_params.h:24
Dtype min_error_diff
Definition: holtwinters_params.h:27
Dtype linesearch_c
Definition: holtwinters_params.h:32
Dtype eps
Definition: holtwinters_params.h:25
Dtype min_param_diff
Definition: holtwinters_params.h:26
Dtype min_grad_norm
Definition: holtwinters_params.h:28
Dtype linesearch_step_size
Definition: holtwinters_params.h:33
int linesearch_iter_limit
Definition: holtwinters_params.h:30
Dtype linesearch_tau
Definition: holtwinters_params.h:31
int bfgs_iter_limit
Definition: holtwinters_params.h:29