|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.neural.pattern.PNNPattern
public class PNNPattern
Pattern to create a PNN.
| Constructor Summary | |
|---|---|
PNNPattern()
|
|
| Method Summary | |
|---|---|
void |
addHiddenLayer(int count)
Add a hidden layer. |
void |
clear()
Clear out any hidden neurons. |
MLMethod |
generate()
Generate the RSOM network. |
int |
getInputNeurons()
|
PNNKernelType |
getKernel()
|
PNNOutputMode |
getOutmodel()
|
int |
getOutputNeurons()
|
void |
setActivationFunction(ActivationFunction activation)
Set the activation function. |
void |
setInputNeurons(int count)
Set the input neuron count. |
void |
setKernel(PNNKernelType kernel)
Set the kernel type. |
void |
setOutmodel(PNNOutputMode outmodel)
Set the output model. |
void |
setOutputNeurons(int count)
Set the output neuron count. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PNNPattern()
| Method Detail |
|---|
public final void addHiddenLayer(int count)
addHiddenLayer in interface NeuralNetworkPatterncount - The number of hidden neurons.public void clear()
clear in interface NeuralNetworkPatternpublic final MLMethod generate()
generate in interface NeuralNetworkPatternpublic final int getInputNeurons()
public final PNNKernelType getKernel()
public final PNNOutputMode getOutmodel()
public final int getOutputNeurons()
public final void setActivationFunction(ActivationFunction activation)
setActivationFunction in interface NeuralNetworkPatternactivation - The activation function to use.public final void setInputNeurons(int count)
setInputNeurons in interface NeuralNetworkPatterncount - The number of neurons.public final void setKernel(PNNKernelType kernel)
kernel - The kernel type.public final void setOutmodel(PNNOutputMode outmodel)
outmodel - The output model.public final void setOutputNeurons(int count)
setOutputNeurons in interface NeuralNetworkPatterncount - The number of neurons.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||