|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.persist.persistors.SVMNetworkPersistor
public class SVMNetworkPersistor
Persist a SVM network.
| Field Summary | |
|---|---|
static String[] |
kernel_type_table
Constants for the kernel types. |
static String[] |
svm_type_table
Constants for the SVM types. |
static String |
TAG_COEF0
The coefficient. |
static String |
TAG_DATA
The data tag. |
static String |
TAG_DEGREE
The degree to use. |
static String |
TAG_GAMMA
The gamma to use. |
static String |
TAG_INPUT
The input tag. |
static String |
TAG_LABEL
The labels. |
static String |
TAG_MODEL
The model tag. |
static String |
TAG_MODELS
The models tag. |
static String |
TAG_NSV
The number of support vectors. |
static String |
TAG_NUMCLASS
The number of classes. |
static String |
TAG_OUTPUT
The output tag. |
static String |
TAG_PROB_A
The A-probability. |
static String |
TAG_PROB_B
The B-probability. |
static String |
TAG_RHO
The rho to use. |
static String |
TAG_ROW
The row tag. |
static String |
TAG_TOTALSV
The total number of cases. |
static String |
TAG_TYPE_KERNEL
The type of kernel to use. |
static String |
TAG_TYPE_SVM
The type of SVM this is. |
| Constructor Summary | |
|---|---|
SVMNetworkPersistor()
|
|
| Method Summary | |
|---|---|
EncogPersistedObject |
load(ReadXML in)
Load the SVM network. |
void |
save(EncogPersistedObject obj,
WriteXML out)
Save a SVMNetwork. |
static void |
saveModel(WriteXML out,
svm_model model)
Save a model. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String[] svm_type_table
public static final String[] kernel_type_table
public static final String TAG_INPUT
public static final String TAG_OUTPUT
public static final String TAG_MODELS
public static final String TAG_DATA
public static final String TAG_ROW
public static final String TAG_MODEL
public static final String TAG_TYPE_SVM
public static final String TAG_TYPE_KERNEL
public static final String TAG_DEGREE
public static final String TAG_GAMMA
public static final String TAG_COEF0
public static final String TAG_NUMCLASS
public static final String TAG_TOTALSV
public static final String TAG_RHO
public static final String TAG_LABEL
public static final String TAG_PROB_A
public static final String TAG_PROB_B
public static final String TAG_NSV
| Constructor Detail |
|---|
public SVMNetworkPersistor()
| Method Detail |
|---|
public EncogPersistedObject load(ReadXML in)
load in interface Persistorin - Where to read it from.
public static void saveModel(WriteXML out,
svm_model model)
out - Where to save a model to.model - The model to save to.
public void save(EncogPersistedObject obj,
WriteXML out)
save in interface Persistorobj - The object to save.out - Where to save it to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||