|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.ml.svm.PersistSVM
public class PersistSVM
Persist a SVM.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
PersistSVM()
|
|
| Method Summary | |
|---|---|
int |
getFileVersion()
|
String |
getPersistClassString()
|
Object |
read(InputStream is)
Read the object from an input stream. |
void |
save(OutputStream os,
Object obj)
Save the object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public PersistSVM()
| Method Detail |
|---|
public final int getFileVersion()
getFileVersion in interface EncogPersistorpublic final String getPersistClassString()
getPersistClassString in interface EncogPersistorpublic final Object read(InputStream is)
read in interface EncogPersistoris - The input stream.
public final void save(OutputStream os,
Object obj)
save in interface EncogPersistoros - The output stream to save to.obj - The object to save.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||