org.jdmp.core.algorithm.classification.mlp
Class NetworkLayer

java.lang.Object
  extended by org.jdmp.core.algorithm.classification.mlp.NetworkLayer
All Implemented Interfaces:
Serializable

public class NetworkLayer
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
NetworkLayer(MultiLayerNetwork.Aggregation aggregationFunction, MultiLayerNetwork.Transfer transferFunction, MultiLayerNetwork.BiasType biasType)
           
NetworkLayer(MultiLayerNetwork.Aggregation aggregationFunction, MultiLayerNetwork.Transfer transferFunction, MultiLayerNetwork.BiasType biasType, int neuronCount)
           
 
Method Summary
 void addInputMatrix(Matrix matrix)
           
 void calculateBackward()
           
 void calculateForward()
           
 void calculateWeightUpdate()
           
 void createVariablesIfNecessary()
           
 NetworkLayerBackward getAlgorithmBackward()
           
 NetworkLayerForward getAlgorithmForward()
           
 WeightUpdate getAlgorithmWeightUpdate()
           
 Variable getInputDeviationVariable()
           
 Variable getInputVariable()
           
 String getLabel()
           
 double getLearningRate()
           
 int getNeuronCount()
           
 NetworkLayer getNextLayer()
           
 Variable getOutputDeviationVariable()
           
 Variable getOutputVariable()
           
 NetworkLayer getPreviousLayer()
           
 Variable getWeightVariable()
           
 void reset()
           
 void setAlgorithmBackward(NetworkLayerBackward algorithmBackward)
           
 void setAlgorithmForward(NetworkLayerForward algorithmForward)
           
 void setInputVariable(Variable v)
           
 void setLayer(int nr)
           
 void setLearningRate(double v)
           
 void setNextLayer(NetworkLayer nextLayer)
           
 void setOutputDeviationVariable(Variable v)
           
 void setOutputVariable(Variable v)
           
 void setPreviousLayer(NetworkLayer previousLayer)
           
 void setSampleWeight(double v)
           
 void setWeightVariable(Variable weight)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NetworkLayer

public NetworkLayer(MultiLayerNetwork.Aggregation aggregationFunction,
                    MultiLayerNetwork.Transfer transferFunction,
                    MultiLayerNetwork.BiasType biasType)

NetworkLayer

public NetworkLayer(MultiLayerNetwork.Aggregation aggregationFunction,
                    MultiLayerNetwork.Transfer transferFunction,
                    MultiLayerNetwork.BiasType biasType,
                    int neuronCount)
Method Detail

setLayer

public void setLayer(int nr)

getAlgorithmBackward

public NetworkLayerBackward getAlgorithmBackward()

setLearningRate

public void setLearningRate(double v)

getLearningRate

public double getLearningRate()

setSampleWeight

public void setSampleWeight(double v)

getAlgorithmWeightUpdate

public WeightUpdate getAlgorithmWeightUpdate()

setAlgorithmBackward

public void setAlgorithmBackward(NetworkLayerBackward algorithmBackward)

getAlgorithmForward

public NetworkLayerForward getAlgorithmForward()

setAlgorithmForward

public void setAlgorithmForward(NetworkLayerForward algorithmForward)

getNextLayer

public NetworkLayer getNextLayer()

setNextLayer

public void setNextLayer(NetworkLayer nextLayer)

getPreviousLayer

public NetworkLayer getPreviousLayer()

setPreviousLayer

public void setPreviousLayer(NetworkLayer previousLayer)

getInputDeviationVariable

public Variable getInputDeviationVariable()

setWeightVariable

public void setWeightVariable(Variable weight)

calculateForward

public void calculateForward()
                      throws Exception
Throws:
Exception

calculateBackward

public void calculateBackward()
                       throws Exception
Throws:
Exception

calculateWeightUpdate

public void calculateWeightUpdate()
                           throws Exception
Throws:
Exception

getWeightVariable

public Variable getWeightVariable()

createVariablesIfNecessary

public void createVariablesIfNecessary()
                                throws MatrixException
Throws:
MatrixException

getLabel

public String getLabel()

reset

public void reset()
           throws MatrixException
Throws:
MatrixException

toString

public String toString()
Overrides:
toString in class Object

getNeuronCount

public int getNeuronCount()

setInputVariable

public void setInputVariable(Variable v)

setOutputDeviationVariable

public void setOutputDeviationVariable(Variable v)

setOutputVariable

public void setOutputVariable(Variable v)

getInputVariable

public Variable getInputVariable()

getOutputDeviationVariable

public Variable getOutputDeviationVariable()

getOutputVariable

public Variable getOutputVariable()

addInputMatrix

public void addInputMatrix(Matrix matrix)


Copyright © 2009. All Rights Reserved.