|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.persist.persistors.BasicLayerPersistor
public class BasicLayerPersistor
Provides basic functions that many of the persistors will need.
| Field Summary | |
|---|---|
static String |
PROPERTY_BIAS_ACTIVATION
The bias activation. |
static String |
PROPERTY_NEURONS
The neurons property. |
static String |
PROPERTY_THRESHOLD
The bias property, stores the bias weights. |
static String |
PROPERTY_X
The x-coordinate to place this object at. |
static String |
PROPERTY_Y
The y-coordinate to place this object at. |
static String |
TAG_ACTIVATION
The activation function tag. |
| Constructor Summary | |
|---|---|
BasicLayerPersistor()
|
|
| Method Summary | |
|---|---|
EncogPersistedObject |
load(ReadXML in)
Load the specified Encog object from an XML reader. |
static ActivationFunction |
loadActivation(String type,
ReadXML in)
|
void |
save(EncogPersistedObject obj,
WriteXML out)
Save the specified Encog object to an XML writer. |
static void |
saveActivationFunction(ActivationFunction activationFunction,
WriteXML out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String TAG_ACTIVATION
public static final String PROPERTY_NEURONS
public static final String PROPERTY_THRESHOLD
public static final String PROPERTY_BIAS_ACTIVATION
public static final String PROPERTY_X
public static final String PROPERTY_Y
| Constructor Detail |
|---|
public BasicLayerPersistor()
| Method Detail |
|---|
public EncogPersistedObject load(ReadXML in)
load in interface Persistorin - The XML reader to use.
public void save(EncogPersistedObject obj,
WriteXML out)
save in interface Persistorobj - The object to save.out - The XML writer to save to.
public static void saveActivationFunction(ActivationFunction activationFunction,
WriteXML out)
public static ActivationFunction loadActivation(String type,
ReadXML in)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||