yawn.nn.appart
Class AppArtConfig

java.lang.Object
  extended by yawn.config.ConfigElement
      extended by yawn.config.NeuralNetworkConfig
          extended by yawn.nn.appart.AppArtConfig

public class AppArtConfig
extends NeuralNetworkConfig

$Id: AppArtConfig.java,v 1.6 2005/04/07 17:28:25 supermarti Exp $

Version:
$Revision: 1.6 $
Author:
Luis Martí (luis dot marti at uc3m dot es)

Field Summary
protected  double desiredMeanSquaredError
           
protected  Pattern initialDeviations
           
protected  double learningRate
           
protected  boolean matchTrackingOneShot
           
protected  long maxEpochs
           
protected  double predictionError
           
protected  double predictionLayerLearningRate
           
protected  double testMatchVigilance
           
protected  double trainMatchVigilance
           
protected  boolean useAbsoluteError
           
 
Fields inherited from class yawn.config.NeuralNetworkConfig
environment
 
Constructor Summary
AppArtConfig()
           
 
Method Summary
 NeuralNetwork configuredNetworkFactory()
          A factory of ready to train (and use) neural networks
 java.lang.Class getBindedNetworkClass()
           
 double getDesiredMeanSquaredError()
           
 Pattern getInitialDeviations()
           
 int getInputSize()
           
 double getLearningRate()
           
 long getMaxEpochs()
           
 int getOutputSize()
           
 double getPredictionError()
           
 double getPredictionLayerLearningRate()
           
 double getTestMatchVigilance()
           
 double getTrainMatchVigilance()
           
protected  void internalValidate()
           
 boolean isMatchTrackingOneShot()
           
 boolean isUseAbsoluteError()
           
 void setDesiredMeanSquaredError(double desiredMeanSquaredError)
           
 void setInitialDeviations(Pattern initialDeviations)
           
 void setLearningRate(double learningRate)
           
 void setMatchTrackingOneShot(boolean matchTrackingOneShot)
           
 void setMaxEpochs(long maxEpochs)
           
 void setPredictionError(double predictionError)
           
 void setPredictionLayerLearningRate(double predictionLayerLearningRate)
           
 void setTestMatchVigilance(double testMatchVigilance)
           
 void setTrainMatchVigilance(double trainMatchVigilance)
           
 void setUseAbsoluteError(boolean useAbsoluteError)
           
 
Methods inherited from class yawn.config.NeuralNetworkConfig
environmentValidate, getEnvironment, setBindedNetworkClass, setEnvironment, validate
 
Methods inherited from class yawn.config.ConfigElement
equals
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

maxEpochs

protected long maxEpochs

desiredMeanSquaredError

protected double desiredMeanSquaredError

initialDeviations

protected Pattern initialDeviations

learningRate

protected double learningRate

matchTrackingOneShot

protected boolean matchTrackingOneShot

predictionError

protected double predictionError

testMatchVigilance

protected double testMatchVigilance

trainMatchVigilance

protected double trainMatchVigilance

useAbsoluteError

protected boolean useAbsoluteError

predictionLayerLearningRate

protected double predictionLayerLearningRate
Constructor Detail

AppArtConfig

public AppArtConfig()
Method Detail

getMaxEpochs

public long getMaxEpochs()
Returns:
Returns the maxEpochs.

setMaxEpochs

public void setMaxEpochs(long maxEpochs)
Parameters:
maxEpochs - The maxEpochs to set.

getPredictionLayerLearningRate

public double getPredictionLayerLearningRate()
Returns:
Returns the predictionLayerLearningRate.

setPredictionLayerLearningRate

public void setPredictionLayerLearningRate(double predictionLayerLearningRate)
Parameters:
predictionLayerLearningRate - The predictionLayerLearningRate to set.

getInitialDeviations

public Pattern getInitialDeviations()
Returns:
Returns the initialDeviations.

setInitialDeviations

public void setInitialDeviations(Pattern initialDeviations)
Parameters:
initialDeviations - The initialDeviations to set.

getLearningRate

public double getLearningRate()
Returns:
Returns the learningRate.

setLearningRate

public void setLearningRate(double learningRate)
Parameters:
learningRate - The learningRate to set.

isMatchTrackingOneShot

public boolean isMatchTrackingOneShot()
Returns:
Returns the matchTrackingOneShot.

setMatchTrackingOneShot

public void setMatchTrackingOneShot(boolean matchTrackingOneShot)
Parameters:
matchTrackingOneShot - The matchTrackingOneShot to set.

getPredictionError

public double getPredictionError()
Returns:
Returns the predictionError.

setPredictionError

public void setPredictionError(double predictionError)
Parameters:
predictionError - The predictionError to set.

getTestMatchVigilance

public double getTestMatchVigilance()
Returns:
Returns the testMatchVigilance.

setTestMatchVigilance

public void setTestMatchVigilance(double testMatchVigilance)
Parameters:
testMatchVigilance - The testMatchVigilance to set.

getTrainMatchVigilance

public double getTrainMatchVigilance()
Returns:
Returns the trainMatchVigilance.

setTrainMatchVigilance

public void setTrainMatchVigilance(double trainMatchVigilance)
Parameters:
trainMatchVigilance - The trainMatchVigilance to set.

isUseAbsoluteError

public boolean isUseAbsoluteError()
Returns:
Returns the useAbsoluteError.

setUseAbsoluteError

public void setUseAbsoluteError(boolean useAbsoluteError)
Parameters:
useAbsoluteError - The useAbsoluteError to set.

configuredNetworkFactory

public NeuralNetwork configuredNetworkFactory()
Description copied from class: NeuralNetworkConfig
A factory of ready to train (and use) neural networks

Overrides:
configuredNetworkFactory in class NeuralNetworkConfig
Returns:
Returns a configured network.
See Also:
NeuralNetworkConfig.configuredNetworkFactory()

getBindedNetworkClass

public java.lang.Class getBindedNetworkClass()
Specified by:
getBindedNetworkClass in class NeuralNetworkConfig
See Also:
NeuralNetworkConfig.getBindedNetworkClass()

internalValidate

protected void internalValidate()
                         throws ValidationException
Specified by:
internalValidate in class NeuralNetworkConfig
Throws:
ValidationException
See Also:
NeuralNetworkConfig.internalValidate()

getInputSize

public int getInputSize()

getOutputSize

public int getOutputSize()

getDesiredMeanSquaredError

public double getDesiredMeanSquaredError()
Returns:
Returns the desiredMeanSquaredError.

setDesiredMeanSquaredError

public void setDesiredMeanSquaredError(double desiredMeanSquaredError)
Parameters:
desiredMeanSquaredError - The desiredMeanSquaredError to set.


Copyright © 2003-2005 GIAA, Universidad Carlos III de Madrid. All Rights Reserved.