svm_parameter.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 #pragma once
17 
18 namespace ML {
19 namespace SVM {
20 
22 
34 struct SvmParameter {
35  double C;
36  double cache_size;
39  int max_iter;
40  int nochange_steps; //<! Number of steps to continue with non-changing diff
41  double tol;
42  int verbosity;
43  double epsilon;
45 };
46 
47 }; // namespace SVM
48 }; // namespace ML
SvmType
Definition: svm_parameter.h:21
@ EPSILON_SVR
Definition: svm_parameter.h:21
@ C_SVC
Definition: svm_parameter.h:21
@ NU_SVC
Definition: svm_parameter.h:21
@ NU_SVR
Definition: svm_parameter.h:21
Definition: dbscan.hpp:30
Definition: svm_parameter.h:34
int verbosity
Print information about training.
Definition: svm_parameter.h:42
double tol
Tolerance used to stop fitting.
Definition: svm_parameter.h:41
double epsilon
epsilon parameter for epsilon-SVR
Definition: svm_parameter.h:43
int nochange_steps
Definition: svm_parameter.h:40
double C
Penalty term C.
Definition: svm_parameter.h:35
int max_iter
Definition: svm_parameter.h:39
SvmType svmType
Definition: svm_parameter.h:44
double cache_size
Definition: svm_parameter.h:36