src
libsvm-3.14
java
libsvm
svm_parameter.java
Go to the documentation of this file.
1
package
libsvm;
2
public
class
svm_parameter
implements
Cloneable,java.io.Serializable
3
{
4
/* svm_type */
5
public
static
final
int
C_SVC
= 0;
6
public
static
final
int
NU_SVC
= 1;
7
public
static
final
int
ONE_CLASS
= 2;
8
public
static
final
int
EPSILON_SVR
= 3;
9
public
static
final
int
NU_SVR
= 4;
10
11
/* kernel_type */
12
public
static
final
int
LINEAR
= 0;
13
public
static
final
int
POLY
= 1;
14
public
static
final
int
RBF
= 2;
15
public
static
final
int
SIGMOID
= 3;
16
public
static
final
int
PRECOMPUTED
= 4;
17
18
public
int
svm_type
;
19
public
int
kernel_type
;
20
public
int
degree
;
// for poly
21
public
double
gamma
;
// for poly/rbf/sigmoid
22
public
double
coef0
;
// for poly/sigmoid
23
24
// these are for training only
25
public
double
cache_size
;
// in MB
26
public
double
eps
;
// stopping criteria
27
public
double
C
;
// for C_SVC, EPSILON_SVR and NU_SVR
28
public
int
nr_weight
;
// for C_SVC
29
public
int
[]
weight_label
;
// for C_SVC
30
public
double
[]
weight
;
// for C_SVC
31
public
double
nu
;
// for NU_SVC, ONE_CLASS, and NU_SVR
32
public
double
p
;
// for EPSILON_SVR
33
public
int
shrinking
;
// use the shrinking heuristics
34
public
int
probability
;
// do probability estimates
35
36
public
Object
clone
()
37
{
38
try
39
{
40
return
super.clone();
41
}
catch
(CloneNotSupportedException e)
42
{
43
return
null;
44
}
45
}
46
47
}
libsvm.svm_parameter.C_SVC
static final int C_SVC
Definition:
svm_parameter.java:5
libsvm.svm_parameter.degree
int degree
Definition:
svm_parameter.java:20
libsvm.svm_parameter.p
double p
Definition:
svm_parameter.java:32
libsvm.svm_parameter.eps
double eps
Definition:
svm_parameter.java:26
libsvm.svm_parameter.coef0
double coef0
Definition:
svm_parameter.java:22
libsvm.svm_parameter.weight_label
int [] weight_label
Definition:
svm_parameter.java:29
libsvm.svm_parameter.NU_SVR
static final int NU_SVR
Definition:
svm_parameter.java:9
libsvm.svm_parameter.gamma
double gamma
Definition:
svm_parameter.java:21
libsvm.svm_parameter.nr_weight
int nr_weight
Definition:
svm_parameter.java:28
libsvm.svm_parameter.nu
double nu
Definition:
svm_parameter.java:31
libsvm.svm_parameter.LINEAR
static final int LINEAR
Definition:
svm_parameter.java:12
libsvm.svm_parameter.clone
Object clone()
Definition:
svm_parameter.java:36
libsvm.svm_parameter.RBF
static final int RBF
Definition:
svm_parameter.java:14
libsvm.svm_parameter.SIGMOID
static final int SIGMOID
Definition:
svm_parameter.java:15
libsvm.svm_parameter.svm_type
int svm_type
Definition:
svm_parameter.java:18
libsvm.svm_parameter.probability
int probability
Definition:
svm_parameter.java:34
libsvm.svm_parameter.kernel_type
int kernel_type
Definition:
svm_parameter.java:19
libsvm.svm_parameter.weight
double [] weight
Definition:
svm_parameter.java:30
libsvm.svm_parameter
Definition:
svm_parameter.java:2
libsvm.svm_parameter.shrinking
int shrinking
Definition:
svm_parameter.java:33
libsvm.svm_parameter.cache_size
double cache_size
Definition:
svm_parameter.java:25
libsvm.svm_parameter.PRECOMPUTED
static final int PRECOMPUTED
Definition:
svm_parameter.java:16
libsvm.svm_parameter.ONE_CLASS
static final int ONE_CLASS
Definition:
svm_parameter.java:7
libsvm.svm_parameter.POLY
static final int POLY
Definition:
svm_parameter.java:13
libsvm.svm_parameter.EPSILON_SVR
static final int EPSILON_SVR
Definition:
svm_parameter.java:8
libsvm.svm_parameter.C
double C
Definition:
svm_parameter.java:27
libsvm.svm_parameter.NU_SVC
static final int NU_SVC
Definition:
svm_parameter.java:6
ml_classifiers
Author(s): Scott Niekum
, Joshua Whitley
autogenerated on Mon Feb 28 2022 22:46:49