org.encog.neural.pattern
Class ART1Pattern
- java.lang.Object
-
- org.encog.neural.pattern.ART1Pattern
-
- All Implemented Interfaces:
- NeuralNetworkPattern
public class ART1Pattern extends java.lang.Object implements NeuralNetworkPattern
Pattern to create an ART-1 neural network.
-
-
Constructor Summary
Constructors Constructor and Description ART1Pattern()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidaddHiddenLayer(int count)This will fail, hidden layers are not supported for this type of network.voidclear()Clear any properties set for this network.MLMethodgenerate()Generate the neural network.doublegetA1()doublegetB1()doublegetC1()doublegetD1()doublegetL()doublegetVigilance()voidsetA1(double a1)Set the A1 parameter.voidsetActivationFunction(ActivationFunction activation)This method will throw an error, you can't set the activation function for an ART1.voidsetB1(double b1)Set the B1 parameter.voidsetC1(double c1)Set the C1 parameter.voidsetD1(double d1)Set the D1 parameter.voidsetInputNeurons(int count)Set the input neuron (F1 layer) count.voidsetL(double l)Set the L parameter.voidsetOutputNeurons(int count)Set the output neuron (F2 layer) count.voidsetVigilance(double vigilance)Set the vigilance for the network.
-
-
-
Method Detail
-
addHiddenLayer
public void addHiddenLayer(int count)
This will fail, hidden layers are not supported for this type of network.- Specified by:
addHiddenLayerin interfaceNeuralNetworkPattern- Parameters:
count- Not used.
-
clear
public void clear()
Clear any properties set for this network.- Specified by:
clearin interfaceNeuralNetworkPattern
-
generate
public MLMethod generate()
Generate the neural network.- Specified by:
generatein interfaceNeuralNetworkPattern- Returns:
- The generated neural network.
-
getA1
public double getA1()
- Returns:
- The A1 parameter.
-
getB1
public double getB1()
- Returns:
- The B1 parameter.
-
getC1
public double getC1()
- Returns:
- The C1 parameter.
-
getD1
public double getD1()
- Returns:
- The D1 parameter.
-
getL
public double getL()
- Returns:
- The L parameter.
-
getVigilance
public double getVigilance()
- Returns:
- The vigilance for the network.
-
setA1
public void setA1(double a1)
Set the A1 parameter.- Parameters:
a1- The new value.
-
setActivationFunction
public void setActivationFunction(ActivationFunction activation)
This method will throw an error, you can't set the activation function for an ART1. type network.- Specified by:
setActivationFunctionin interfaceNeuralNetworkPattern- Parameters:
activation- The activation function.
-
setB1
public void setB1(double b1)
Set the B1 parameter.- Parameters:
b1- The new value.
-
setC1
public void setC1(double c1)
Set the C1 parameter.- Parameters:
c1- The new value.
-
setD1
public void setD1(double d1)
Set the D1 parameter.- Parameters:
d1- The new value.
-
setInputNeurons
public void setInputNeurons(int count)
Set the input neuron (F1 layer) count.- Specified by:
setInputNeuronsin interfaceNeuralNetworkPattern- Parameters:
count- The input neuron count.
-
setL
public void setL(double l)
Set the L parameter.- Parameters:
l- The new value.
-
setOutputNeurons
public void setOutputNeurons(int count)
Set the output neuron (F2 layer) count.- Specified by:
setOutputNeuronsin interfaceNeuralNetworkPattern- Parameters:
count- The output neuron count.
-
setVigilance
public void setVigilance(double vigilance)
Set the vigilance for the network.- Parameters:
vigilance- The new value.
-
-
DMelt 3.0 © DataMelt by jWork.ORG