|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.neural.networks.logic.ARTLogic
org.encog.neural.networks.logic.ART1Logic
public class ART1Logic
Provides the neural logic for an ART1 type network. See ART1Pattern for more information on this type of network.
| Field Summary |
|---|
| Fields inherited from class org.encog.neural.networks.logic.ARTLogic |
|---|
PROPERTY_A1, PROPERTY_B1, PROPERTY_C1, PROPERTY_D1, PROPERTY_L, PROPERTY_VIGILANCE |
| Constructor Summary | |
|---|---|
ART1Logic()
|
|
| Method Summary | |
|---|---|
void |
adjustWeights()
Adjust the weights for the pattern just presented. |
void |
compute(BiPolarNeuralData input,
BiPolarNeuralData output)
Compute the output from the ART1 network. |
NeuralData |
compute(NeuralData input,
NeuralOutputHolder useHolder)
Compute the output for the BasicNetwork class. |
double |
getA1()
|
double |
getB1()
|
double |
getC1()
|
double |
getD1()
|
double |
getL()
|
double |
getVigilance()
|
int |
getWinner()
|
boolean |
hasWinner()
|
void |
init(BasicNetwork network)
Setup the network logic, read parameters from the network. |
double |
magnitude(BiPolarNeuralData input)
Get the magnitude of the specified input. |
void |
reset()
Reset the weight matrix back to starting values. |
void |
setA1(double a1)
Set the A1 parameter. |
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 |
setL(double l)
Set the L parameter. |
void |
setVigilance(double vigilance)
Set the vigilance. |
| Methods inherited from class org.encog.neural.networks.logic.ARTLogic |
|---|
getNetwork |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ART1Logic()
| Method Detail |
|---|
public void adjustWeights()
public void compute(BiPolarNeuralData input,
BiPolarNeuralData output)
input - The input to the network.output - The output from the network.
public NeuralData compute(NeuralData input,
NeuralOutputHolder useHolder)
input - The input to the network.useHolder - The NeuralOutputHolder to use.
public double getA1()
public double getB1()
public double getC1()
public double getD1()
public double getL()
public double getVigilance()
public int getWinner()
public boolean hasWinner()
public void init(BasicNetwork network)
init in interface NeuralLogicinit in class ARTLogicnetwork - The network that this logic class belongs to.public double magnitude(BiPolarNeuralData input)
input - The input to calculate the magnitude for.
public void reset()
public void setA1(double a1)
a1 - The new value.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 setL(double l)
l - The new value.public void setVigilance(double vigilance)
vigilance - The new value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||