org.encog.neural.pattern
public class ART1Pattern extends Object implements NeuralNetworkPattern
Constructor and Description |
---|
ART1Pattern() |
Modifier and Type | Method and Description |
---|---|
void |
addHiddenLayer(int count)
This will fail, hidden layers are not supported for this type of network.
|
void |
clear()
Clear any properties set for this network.
|
MLMethod |
generate()
Generate the neural network.
|
double |
getA1() |
double |
getB1() |
double |
getC1() |
double |
getD1() |
double |
getL() |
double |
getVigilance() |
void |
setA1(double a1)
Set the A1 parameter.
|
void |
setActivationFunction(ActivationFunction activation)
This method will throw an error, you can't set the activation function
for an ART1.
|
void |
setB1(double b1)
Set the B1 parameter.
|
void |
setC1(double c1)
Set the C1 parameter.
|
void |
setD1(double d1)
Set the D1 parameter.
|
void |
setInputNeurons(int count)
Set the input neuron (F1 layer) count.
|
void |
setL(double l)
Set the L parameter.
|
void |
setOutputNeurons(int count)
Set the output neuron (F2 layer) count.
|
void |
setVigilance(double vigilance)
Set the vigilance for the network.
|
public void addHiddenLayer(int count)
addHiddenLayer
in interface NeuralNetworkPattern
count
- Not used.public void clear()
clear
in interface NeuralNetworkPattern
public MLMethod generate()
generate
in interface NeuralNetworkPattern
public double getA1()
public double getB1()
public double getC1()
public double getD1()
public double getL()
public double getVigilance()
public void setA1(double a1)
a1
- The new value.public void setActivationFunction(ActivationFunction activation)
setActivationFunction
in interface NeuralNetworkPattern
activation
- The activation function.public void setB1(double b1)
b1
- The new value.public void setC1(double c1)
c1
- The new value.public void setD1(double d1)
d1
- The new value.public void setInputNeurons(int count)
setInputNeurons
in interface NeuralNetworkPattern
count
- The input neuron count.public void setL(double l)
l
- The new value.public void setOutputNeurons(int count)
setOutputNeurons
in interface NeuralNetworkPattern
count
- The output neuron count.public void setVigilance(double vigilance)
vigilance
- The new value.Copyright © 2014. All Rights Reserved.