org.encog.ml.svm
public class PersistSVM extends Object implements EncogPersistor
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_C
The parameter to hold the const C.
|
static String |
PARAM_CACHE_SIZE
The parameter to hold the cache size.
|
static String |
PARAM_COEF0
The parameter to hold the coef0.
|
static String |
PARAM_DEGREE
The parameter to hold the degree.
|
static String |
PARAM_EPS
The parameter to hold the eps.
|
static String |
PARAM_GAMMA
The parameter to hold the gamma.
|
static String |
PARAM_KERNEL_TYPE
The parameter to hold the kernel type.
|
static String |
PARAM_NU
The parameter to hold the nu.
|
static String |
PARAM_NUM_WEIGHT
The parameter to hold the number of weights.
|
static String |
PARAM_P
The parameter to hold the p.
|
static String |
PARAM_PROBABILITY
The parameter to hold the probability.
|
static String |
PARAM_SHRINKING
The parameter to hold the shrinking.
|
static String |
PARAM_SVM_TYPE
The parameter to hold the SVM type.
|
static String |
PARAM_WEIGHT
The paramater to hold the weight.
|
static String |
PARAM_WEIGHT_LABEL
The parameter to hold the weight label.
|
Constructor and Description |
---|
PersistSVM() |
Modifier and Type | Method and Description |
---|---|
int |
getFileVersion() |
String |
getPersistClassString() |
Object |
read(InputStream is)
Read the object from an input stream.
|
void |
save(OutputStream os,
Object obj)
Save the object.
|
public static final String PARAM_C
public static final String PARAM_CACHE_SIZE
public static final String PARAM_COEF0
public static final String PARAM_DEGREE
public static final String PARAM_EPS
public static final String PARAM_GAMMA
public static final String PARAM_KERNEL_TYPE
public static final String PARAM_NUM_WEIGHT
public static final String PARAM_NU
public static final String PARAM_P
public static final String PARAM_PROBABILITY
public static final String PARAM_SHRINKING
public static final String PARAM_SVM_TYPE
public static final String PARAM_WEIGHT
public static final String PARAM_WEIGHT_LABEL
public int getFileVersion()
getFileVersion
in interface EncogPersistor
public String getPersistClassString()
getPersistClassString
in interface EncogPersistor
public Object read(InputStream is)
read
in interface EncogPersistor
is
- The input stream.public void save(OutputStream os, Object obj)
save
in interface EncogPersistor
os
- The output stream to save to.obj
- The object to save.Copyright © 2014. All Rights Reserved.