org.encog.neural.pattern
public class BoltzmannPattern extends Object implements NeuralNetworkPattern
| Constructor and Description |
|---|
BoltzmannPattern() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public void addHiddenLayer(int count)
addHiddenLayer in interface NeuralNetworkPatterncount - Not used.public void clear()
clear in interface NeuralNetworkPatternpublic MLMethod generate()
generate in interface NeuralNetworkPatternpublic int getAnnealCycles()
public int getRunCycles()
public double getTemperature()
public void setActivationFunction(ActivationFunction activation)
setActivationFunction in interface NeuralNetworkPatternactivation - Not used.public void setAnnealCycles(int annealCycles)
annealCycles - The new value.public void setInputNeurons(int count)
setInputNeurons in interface NeuralNetworkPatterncount - The number of input neurons.public void setOutputNeurons(int count)
setOutputNeurons in interface NeuralNetworkPatterncount - The number of output neurons.public void setRunCycles(int runCycles)
runCycles - The new value.public void setTemperature(double temperature)
temperature - The new value.Copyright © 2014. All Rights Reserved.