org.jdmp.core.algorithm.classification.mlp
Class NetworkLayer
java.lang.Object
org.jdmp.core.algorithm.classification.mlp.NetworkLayer
- All Implemented Interfaces:
- Serializable
public class NetworkLayer
- extends Object
- implements Serializable
- See Also:
- Serialized Form
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)
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.