|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object yawn.nn.NeuralNetwork
public abstract class NeuralNetwork
An abstract neural network $Id: NeuralNetwork.java,v 1.8 2005/04/07 17:28:28 supermarti Exp $
Constructor Summary | |
---|---|
NeuralNetwork()
|
Method Summary | |
---|---|
protected boolean |
getAdapting()
|
abstract int |
getInputSize()
|
abstract java.lang.String |
getNeuralNetworkName()
Returns a human readable |
abstract int |
getOutputSize()
|
StatisticsFacility |
getStatisticsFacility()
|
protected boolean |
isAdapting()
|
abstract void |
oneLearningStep(Pattern input,
Pattern output)
Performs one learning iteration. |
abstract Pattern |
predict(Pattern input)
Computes a network prediction |
protected void |
setAdapting(boolean adapting)
If set to true puts the network in adapting (training)
mode; false puts the network in static or frozen (testing)
mode. |
void |
setStatisticsFacility(StatisticsFacility statisticsFacility)
|
abstract void |
setup(NeuralNetworkConfig config)
|
abstract void |
train(InputOutputPattern[] iop)
Trains the network until the stop criteria is met. |
abstract NeuralNetworkConfig |
yieldConfiguration()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NeuralNetwork()
Method Detail |
---|
public abstract void oneLearningStep(Pattern input, Pattern output)
input
- The network input.output
- The desired output.public abstract Pattern predict(Pattern input)
input
- The input to propagate.
public abstract void train(InputOutputPattern[] iop)
iop
- The training set to be learned.public abstract int getInputSize()
public abstract int getOutputSize()
public abstract void setup(NeuralNetworkConfig config) throws ConfigurationException
ConfigurationException
public abstract NeuralNetworkConfig yieldConfiguration()
public StatisticsFacility getStatisticsFacility()
public abstract java.lang.String getNeuralNetworkName()
protected boolean isAdapting()
true
if the network is adapting itself (training)
or is frozenprotected boolean getAdapting()
true
if the network is adapting itself (training)
or is frozenprotected void setAdapting(boolean adapting)
true
puts the network in adapting (training)
mode; false
puts the network in static or frozen (testing)
mode.
adapting
- public void setStatisticsFacility(StatisticsFacility statisticsFacility)
statisticsFacility
- The statisticsFacility to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |