ThunderSVM
ThunderSVM: An Open-Source SVM Library on GPUs and CPUs
Public Types | Public Attributes | Static Public Attributes | List of all members
SvmParam Struct Reference

params for ThunderSVM More...

#include <svmparam.h>

Public Types

enum  SVM_TYPE {
  C_SVC, NU_SVC, ONE_CLASS, EPSILON_SVR,
  NU_SVR
}
 SVM type.
 
enum  KERNEL_TYPE { LINEAR, POLY, RBF, SIGMOID }
 kernel function type
 

Public Attributes

SVM_TYPE svm_type
 
KERNEL_TYPE kernel_type
 
float_type C
 regularization parameter
 
float_type gamma
 for RBF kernel
 
float_type p
 for regression
 
float_type nu
 for \(\nu\)-SVM
 
float_type epsilon
 stopping criteria
 
int degree
 degree for polynomial kernel
 
float_type coef0
 for polynomial/sigmoid kernel
 
int nr_weight
 for SVC
 
int * weight_label
 for SVC
 
float_type * weight
 for SVC
 
int probability
 do probability estimates
 

Static Public Attributes

static const char * kernel_type_name [6] = {"linear", "polynomial", "rbf", "sigmoid", "precomputed", "NULL"}
 
static const char * svm_type_name [6]
 

Detailed Description

params for ThunderSVM

Member Data Documentation

◆ svm_type_name

const char * SvmParam::svm_type_name
static
Initial value:
= {"c_svc", "nu_svc", "one_class", "epsilon_svr", "nu_svr",
"NULL"}

The documentation for this struct was generated from the following files: