org.encog.neural.pattern
public class CPNPattern extends Object implements NeuralNetworkPattern
Modifier and Type | Field and Description |
---|---|
static String |
TAG_INSTAR
The tag for the INSTAR layer.
|
static String |
TAG_OUTSTAR
The tag for the OUTSTAR layer.
|
Constructor and Description |
---|
CPNPattern() |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final String TAG_INSTAR
public static final String TAG_OUTSTAR
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.Copyright © 2014. All Rights Reserved.