|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--com.ewasystems.dm.AbstractEngineModel
|
+--com.ewasystems.dm.neural.nn.NeuralNetworkModel
Title: NeuralNetworkModel
Description: A Neural Network Model Containing Neuron DAG
Copyright: (c) 1998 - 2005
Company: EWA Systems
| Constructor Summary | |
NeuralNetworkModel()
Constructs an Empty Neural Network Model |
|
NeuralNetworkModel(int[] layerSizes,
int layerType)
Constructs a Neural Network Model |
|
NeuralNetworkModel(int[] layerSizes,
int[] layerTypes)
Constructs an Neural Network Model |
|
| Method Summary | |
NeuralLayer |
createLayer(int size,
int type)
Create a Neural Layer |
Neuron |
createNeuron(int type)
Creates a New Neuron |
void |
destroyLayer(NeuralLayer layer)
Disconnects and Destroys a Neural Layer |
void |
destroyNeuron(Neuron neuron)
Disconnects and Destroys a Neuron |
java.util.HashSet |
getAllDAGNodes()
Gets all of the Neurons |
com.ewasystems.dm.AbstractEngineConfig |
getConfig()
Gets the Engine Configuation |
NeuralLayer |
getCyclicSourceLayer()
Returns the First Layer in the Network (Usually the Source Layer) |
NeuralLayer |
getCyclicTargetLayer()
Returns the Last Layer in the Network (Usually the Target Layer) |
double |
getDataMSE()
Gets the Data Mean Squared Error |
int |
getLayerCount()
Gets the Number of Hidden Network Layers |
java.util.Iterator |
getLayerIterator()
Gets the Hidden Layer Iterator |
com.ewasystems.util.ExtensionFileFilter |
getModelFileFilter()
Gets the Model File Filter |
int |
getNeuronCount()
Returns the Total Number of Neurons in the Network |
java.util.Iterator |
getNeuronIterator()
Gets an Neuron Iterator |
NeuralLayer |
getSourceLayer()
Returns the First Layer in the Network (Usually the Source Layer) |
NeuralLayer |
getTargetLayer()
Returns the Last Layer in the Network (Usually the Target Layer) |
double |
getTestMSE()
Gets the Test Mean Squared Error |
void |
initializeNetwork()
Initializes the Network By Setting Random Weights on All Neurons |
void |
setConfig(com.ewasystems.dm.AbstractEngineConfig config)
Sets the Engine Configuation |
void |
setCyclicSourceLayer(NeuralLayer cyclicSourceLayer)
Returns the First Layer in the Network (Usually the Source Layer) |
void |
setCyclicTargetLayer(NeuralLayer cyclicTargetLayer)
Returns the First Layer in the Network (Usually the Source Layer) |
void |
setSourceLayer(NeuralLayer sourceLayer)
Returns the First Layer in the Network (Usually the Source Layer) |
void |
setTargetLayer(NeuralLayer targetLayer)
Returns the First Layer in the Network (Usually the Source Layer) |
boolean |
validateModel()
Validates the DAG |
| Methods inherited from class com.ewasystems.dm.AbstractEngineModel |
loadModel, saveModel |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NeuralNetworkModel()
public NeuralNetworkModel(int[] layerSizes,
int layerType)
layerSizes - The Layer SizeslayerType - The Neuron Type
public NeuralNetworkModel(int[] layerSizes,
int[] layerTypes)
layerSizes - The Layer SizeslayerTypes - The Neuron Types| Method Detail |
public NeuralLayer createLayer(int size,
int type)
size - The Number of Neurons in the Layertype - The Type of Neurons in the Layerpublic Neuron createNeuron(int type)
type - The Neuron Typepublic void destroyLayer(NeuralLayer layer)
layer - The Neural Layerpublic void destroyNeuron(Neuron neuron)
neuron - The Neuronpublic java.util.HashSet getAllDAGNodes()
getAllDAGNodes in interface com.ewasystems.dm.util.DirectedAcyclicGraphpublic com.ewasystems.dm.AbstractEngineConfig getConfig()
getConfig in class com.ewasystems.dm.AbstractEngineModelpublic NeuralLayer getCyclicSourceLayer()
public NeuralLayer getCyclicTargetLayer()
public double getDataMSE()
public int getLayerCount()
public java.util.Iterator getLayerIterator()
public com.ewasystems.util.ExtensionFileFilter getModelFileFilter()
getModelFileFilter in class com.ewasystems.dm.AbstractEngineModelpublic int getNeuronCount()
public java.util.Iterator getNeuronIterator()
public NeuralLayer getSourceLayer()
public NeuralLayer getTargetLayer()
public double getTestMSE()
public void initializeNetwork()
public void setConfig(com.ewasystems.dm.AbstractEngineConfig config)
config - The Engine Configurationpublic void setCyclicSourceLayer(NeuralLayer cyclicSourceLayer)
cyclicSourceLayer - The First Neural Layerpublic void setCyclicTargetLayer(NeuralLayer cyclicTargetLayer)
cyclicTargetLayer - The First Neural Layerpublic void setSourceLayer(NeuralLayer sourceLayer)
sourceLayer - The First Neural Layerpublic void setTargetLayer(NeuralLayer targetLayer)
targetLayer - The First Neural Layerpublic boolean validateModel()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||