org.jdmp.core.algorithm.classification.mlp
Class WeightUpdate
- java.lang.Object
-
- org.jdmp.core.AbstractCoreObject
-
- org.jdmp.core.algorithm.AbstractAlgorithm
-
- org.jdmp.core.algorithm.AlgorithmFiveSources
-
- org.jdmp.core.algorithm.classification.mlp.WeightUpdate
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, Algorithm, HasAlgorithmMap, HasDataSetMap, HasVariableMap, Clearable, CoreObject, HasDescription, HasGUIObject, HasId, HasLabel
public class WeightUpdate extends AlgorithmFiveSources
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jdmp.core.algorithm.Algorithm
Algorithm.EdgeDirection
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.StringCONTACTDEVIATIONstatic java.lang.StringETAstatic java.lang.StringINPUTstatic java.lang.StringSAMPLEWEIGHTstatic java.lang.StringWEIGHT-
Fields inherited from class org.jdmp.core.algorithm.AlgorithmFiveSources
SOURCE1, SOURCE2, SOURCE3, SOURCE4, SOURCE5, TARGET
-
Fields inherited from interface org.jdmp.core.algorithm.Algorithm
ALGORITHMARRAY, COMPRESSED, DECOMPRESSED, DIFFERENCE, DIMENSION, HASH, IGNORENAN, PREDICTED, RMSE, SOURCE
-
Fields inherited from interface org.ujmp.core.interfaces.HasDescription
DESCRIPTION
-
-
Constructor Summary
Constructors Constructor and Description WeightUpdate(MultiLayerNetwork.BiasType biasType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.util.Map<java.lang.String,java.lang.Object>calculateObjects(java.util.Map<java.lang.String,java.lang.Object> matrices)doublegetLearningRate()voidsetContactDeviationVariable(Variable v)voidsetInputVariable(Variable v)voidsetLayer(int nr)voidsetLearningRate(double v)voidsetSampleWeight(double v)voidsetWeightVariable(Variable v)-
Methods inherited from class org.jdmp.core.algorithm.AbstractAlgorithm
addVariableKey, calculate, calculate, calculate, calculate, calculateObjects, calculateObjects, clear, getAlgorithmMap, getDataSetMap, getDescription, getEdgeDirection, getEdgeLabel, getId, getInputKeys, getLabel, getLabelObject, getOutputKeys, getVariableKeys, getVariableMap, setAlgorithm, setDescription, setEdgeDirection, setEdgeLabel, setId, setLabel, setVariable, setVariables, toString
-
Methods inherited from class org.jdmp.core.AbstractCoreObject
clone, fireValueChanged, getCoreObjectId, getGUIObject, showGUI
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.ujmp.core.interfaces.CoreObject
clone, getCoreObjectId
-
Methods inherited from interface org.ujmp.core.interfaces.HasGUIObject
fireValueChanged, getGUIObject, showGUI
-
-
-
-
Field Detail
-
WEIGHT
public static final java.lang.String WEIGHT
- See Also:
- Constant Field Values
-
ETA
public static final java.lang.String ETA
- See Also:
- Constant Field Values
-
CONTACTDEVIATION
public static final java.lang.String CONTACTDEVIATION
- See Also:
- Constant Field Values
-
INPUT
public static final java.lang.String INPUT
- See Also:
- Constant Field Values
-
SAMPLEWEIGHT
public static final java.lang.String SAMPLEWEIGHT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WeightUpdate
public WeightUpdate(MultiLayerNetwork.BiasType biasType)
-
-
Method Detail
-
setLearningRate
public void setLearningRate(double v)
-
getLearningRate
public double getLearningRate()
-
setSampleWeight
public void setSampleWeight(double v)
-
calculateObjects
public java.util.Map<java.lang.String,java.lang.Object> calculateObjects(java.util.Map<java.lang.String,java.lang.Object> matrices)
- Specified by:
calculateObjectsin interfaceAlgorithm- Overrides:
calculateObjectsin classAbstractAlgorithm
-
setWeightVariable
public void setWeightVariable(Variable v)
-
setInputVariable
public void setInputVariable(Variable v)
-
setContactDeviationVariable
public void setContactDeviationVariable(Variable v)
-
setLayer
public void setLayer(int nr)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG