|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.encog.neural.pattern.CPNPattern
public class CPNPattern
Pattern that creates a CPN neural network.
Field Summary | |
---|---|
static String |
TAG_INSTAR
The tag for the INSTAR layer. |
static String |
TAG_OUTSTAR
The tag for the OUTSTAR layer. |
Constructor Summary | |
---|---|
CPNPattern()
|
Method Summary | |
---|---|
void |
addHiddenLayer(int count)
Not used, will throw an error. |
void |
clear()
Clear any parameters that were set. |
MLMethod |
generate()
Generate the network. |
void |
setActivationFunction(ActivationFunction activation)
This method will throw an error. |
void |
setInputNeurons(int count)
Set the number of input neurons. |
void |
setInstarCount(int instarCount)
Set the number of neurons in the instar layer. |
void |
setOutputNeurons(int count)
Set the number of output neurons. |
void |
setOutstarCount(int outstarCount)
Set the number of neurons in the outstar level, this level is mapped to the "output" level. |
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_INSTAR
public static final String TAG_OUTSTAR
Constructor Detail |
---|
public CPNPattern()
Method Detail |
---|
public void addHiddenLayer(int count)
addHiddenLayer
in interface NeuralNetworkPattern
count
- NOT USEDpublic void clear()
clear
in interface NeuralNetworkPattern
public MLMethod generate()
generate
in interface NeuralNetworkPattern
public void setActivationFunction(ActivationFunction activation)
setActivationFunction
in interface NeuralNetworkPattern
activation
- NOT USEDpublic void setInputNeurons(int count)
setInputNeurons
in interface NeuralNetworkPattern
count
- The input neuron count.public void setInstarCount(int instarCount)
instarCount
- The instar count.public void setOutputNeurons(int count)
setOutputNeurons
in interface NeuralNetworkPattern
count
- The count.public void setOutstarCount(int outstarCount)
outstarCount
- The outstar count.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |