yawn.nn.mlp
Class MultiLayerPerceptronConfig

java.lang.Object
  extended by yawn.config.ConfigElement
      extended by yawn.config.NeuralNetworkConfig
          extended by yawn.nn.mlp.MultiLayerPerceptronConfig

public class MultiLayerPerceptronConfig
extends NeuralNetworkConfig

A configuration class for the MultiLayerPerceptron class. $Id: MultiLayerPerceptronConfig.java,v 1.6 2005/04/07 17:28:07 supermarti Exp $

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

Field Summary
protected  java.util.List layerConfigs
           
protected  double learningRate
           
protected  long maxEpochs
           
protected  double momentumRate
           
protected  double predictionError
           
 
Fields inherited from class yawn.config.NeuralNetworkConfig
environment
 
Constructor Summary
MultiLayerPerceptronConfig()
           
 
Method Summary
 void addHiddenLayerConfig(LayerElement le)
           
 java.lang.Class getBindedNetworkClass()
           
 java.util.List getLayerConfigs()
           
 double getLearningRate()
           
 long getMaxEpochs()
           
 double getMomentumRate()
           
 double getPredictionError()
           
protected  void internalValidate()
           
 void setLayerConfigs(java.util.List layers)
           
 void setLearningRate(double learningRate)
           
 void setMaxEpochs(long maxEpochs)
           
 void setMomentumRate(double momentumRate)
           
 void setPredictionError(double predictionError)
           
 
Methods inherited from class yawn.config.NeuralNetworkConfig
configuredNetworkFactory, 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

layerConfigs

protected java.util.List layerConfigs

learningRate

protected double learningRate

momentumRate

protected double momentumRate

maxEpochs

protected long maxEpochs

predictionError

protected double predictionError
Constructor Detail

MultiLayerPerceptronConfig

public MultiLayerPerceptronConfig()
Method Detail

addHiddenLayerConfig

public void addHiddenLayerConfig(LayerElement le)

getLayerConfigs

public java.util.List getLayerConfigs()
Returns:
Returns the layerElements.

setLayerConfigs

public void setLayerConfigs(java.util.List layers)
Parameters:
layers - The layers to set.

internalValidate

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

getLearningRate

public double getLearningRate()
Returns:
Returns the learningRate.

setLearningRate

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

getMaxEpochs

public long getMaxEpochs()
Returns:
Returns the maxEpochs.

setMaxEpochs

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

getPredictionError

public double getPredictionError()
Returns:
Returns the predictionError.

setPredictionError

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

getBindedNetworkClass

public java.lang.Class getBindedNetworkClass()
Specified by:
getBindedNetworkClass in class NeuralNetworkConfig
Returns:
yawn.nn.mlp.MultiLayerPerceptron.class by default
See Also:
NeuralNetworkConfig.getBindedNetworkClass()

getMomentumRate

public double getMomentumRate()
Returns:
Returns the momentumRate.

setMomentumRate

public void setMomentumRate(double momentumRate)
Parameters:
momentumRate - The momentumRate to set.


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