yawn.nn.mlp
Class MultiLayerPerceptronConfig
java.lang.Object
yawn.config.ConfigElement
yawn.config.NeuralNetworkConfig
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
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
layerConfigs
protected java.util.List layerConfigs
learningRate
protected double learningRate
momentumRate
protected double momentumRate
maxEpochs
protected long maxEpochs
predictionError
protected double predictionError
MultiLayerPerceptronConfig
public MultiLayerPerceptronConfig()
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.