|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.encog.neural.pattern.BoltzmannPattern
public class BoltzmannPattern
Pattern to create a Boltzmann machine.
Constructor Summary | |
---|---|
BoltzmannPattern()
|
Method Summary | |
---|---|
void |
addHiddenLayer(int count)
Not supported, will throw an exception, Boltzmann networks have no hidden layers. |
void |
clear()
Clear any properties set on this network. |
MLMethod |
generate()
Generate the network. |
int |
getAnnealCycles()
|
int |
getRunCycles()
|
double |
getTemperature()
|
void |
setActivationFunction(ActivationFunction activation)
Not used, will throw an exception. |
void |
setAnnealCycles(int annealCycles)
Set the number of annealing cycles per run. |
void |
setInputNeurons(int count)
Set the number of input neurons. |
void |
setOutputNeurons(int count)
Set the number of output neurons. |
void |
setRunCycles(int runCycles)
Set the number of cycles per run. |
void |
setTemperature(double temperature)
Set the temperature. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BoltzmannPattern()
Method Detail |
---|
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 int getAnnealCycles()
public int getRunCycles()
public double getTemperature()
public void setActivationFunction(ActivationFunction activation)
setActivationFunction
in interface NeuralNetworkPattern
activation
- Not used.public void setAnnealCycles(int annealCycles)
annealCycles
- The new value.public void setInputNeurons(int count)
setInputNeurons
in interface NeuralNetworkPattern
count
- The number of input neurons.public void setOutputNeurons(int count)
setOutputNeurons
in interface NeuralNetworkPattern
count
- The number of output neurons.public void setRunCycles(int runCycles)
runCycles
- The new value.public void setTemperature(double temperature)
temperature
- The new value.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |