holtwinters_params.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2019-2021, NVIDIA CORPORATION.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #pragma once
18 
19 namespace ML {
20 
21 // The type of season that represents the time-series
22 // ADDITIVE is with stable trend and level over periods
23 // MULTIPLICATIVE is with increasing/decreasing trend and level over periods
25 
31 };
32 
33 // These are the parameters used for optimizing alpha, beta, and gamma values
34 template <typename Dtype>
35 struct OptimParams {
36  Dtype eps;
43  Dtype linesearch_c;
45 };
46 
47 enum Norm { L0, L1, L2, LINF };
48 
49 } // namespace ML
Definition: dbscan.hpp:30
Norm
Definition: holtwinters_params.h:47
@ L1
Definition: params.hpp:34
@ L2
Definition: params.hpp:34
@ L0
Definition: holtwinters_params.h:47
@ LINF
Definition: holtwinters_params.h:47
OptimCriterion
Definition: holtwinters_params.h:26
@ OPTIM_MIN_ERROR_DIFF
Definition: holtwinters_params.h:29
@ OPTIM_MIN_GRAD_NORM
Definition: holtwinters_params.h:30
@ OPTIM_BFGS_ITER_LIMIT
Definition: holtwinters_params.h:27
@ OPTIM_MIN_PARAM_DIFF
Definition: holtwinters_params.h:28
SeasonalType
Definition: holtwinters_params.h:24
@ MULTIPLICATIVE
Definition: holtwinters_params.h:24
@ ADDITIVE
Definition: holtwinters_params.h:24
Definition: holtwinters_params.h:35
Dtype min_error_diff
Definition: holtwinters_params.h:38
Dtype linesearch_c
Definition: holtwinters_params.h:43
Dtype eps
Definition: holtwinters_params.h:36
Dtype min_param_diff
Definition: holtwinters_params.h:37
Dtype min_grad_norm
Definition: holtwinters_params.h:39
Dtype linesearch_step_size
Definition: holtwinters_params.h:44
int linesearch_iter_limit
Definition: holtwinters_params.h:41
Dtype linesearch_tau
Definition: holtwinters_params.h:42
int bfgs_iter_limit
Definition: holtwinters_params.h:40