org.jdmp.core.algorithm.regression
Class LinearRegressionGradientDescent
- java.lang.Object
-
- org.jdmp.core.AbstractCoreObject
-
- org.jdmp.core.algorithm.AbstractAlgorithm
-
- org.jdmp.core.algorithm.regression.AbstractRegressor
-
- org.jdmp.core.algorithm.classification.AbstractClassifier
-
- org.jdmp.core.algorithm.regression.LinearRegressionGradientDescent
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, Algorithm, Classifier, HasAlgorithmMap, Regressor, HasDataSetMap, HasVariableMap, Clearable, CoreObject, HasDescription, HasGUIObject, HasId, HasLabel
public class LinearRegressionGradientDescent extends AbstractClassifier
- 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.StringGRADIENTstatic java.lang.StringPARAMETERS-
Fields inherited from class org.jdmp.core.algorithm.regression.AbstractRegressor
mode, OUTPUTERRORALGORITHM, PREDICT, TRAIN
-
Fields inherited from interface org.jdmp.core.algorithm.classification.Classifier
Factory
-
Fields inherited from interface org.jdmp.core.algorithm.Algorithm
ALGORITHMARRAY, COMPRESSED, DECOMPRESSED, DIFFERENCE, DIMENSION, HASH, IGNORENAN, INPUT, PREDICTED, RMSE, SOURCE, TARGET, WEIGHT
-
Fields inherited from interface org.ujmp.core.interfaces.HasDescription
DESCRIPTION
-
-
Constructor Summary
Constructors Constructor and Description LinearRegressionGradientDescent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description ClassifieremptyCopy()MatrixgetGradientMatrix()VariablegetGradientVariable()MatrixgetParameterMatrix()VariablegetParameterVariable()MatrixpredictOne(Matrix input)voidreset()voidsetGradientMatrix(Matrix gradient)voidsetGradientVariable(Variable variable)voidsetParameterMatrix(Matrix parameters)voidsetParameterVariable(Variable variable)voidtrainAll(ListDataSet dataSet)-
Methods inherited from class org.jdmp.core.algorithm.regression.AbstractRegressor
getClassCount, getFeatureCount, getInputLabel, getMode, getOutputErrorAlgorithm, getTargetLabel, getWeightLabel, isDiscrete, predictAll, predictOne, setInputLabel, setMode, setOutputErrorAlgorithm, setTargetLabel, setWeightLabel, trainOne, trainOne, trainOne
-
Methods inherited from class org.jdmp.core.algorithm.AbstractAlgorithm
addVariableKey, calculate, calculate, calculate, calculate, calculateObjects, 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.jdmp.core.algorithm.regression.Regressor
getClassCount, getFeatureCount, getInputLabel, getTargetLabel, isDiscrete, predictAll, predictOne, trainOne, trainOne, trainOne
-
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
-
PARAMETERS
public static final java.lang.String PARAMETERS
- See Also:
- Constant Field Values
-
GRADIENT
public static final java.lang.String GRADIENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
setParameterVariable
public void setParameterVariable(Variable variable)
-
getParameterVariable
public Variable getParameterVariable()
-
setGradientVariable
public void setGradientVariable(Variable variable)
-
getGradientVariable
public Variable getGradientVariable()
-
getParameterMatrix
public Matrix getParameterMatrix()
-
getGradientMatrix
public Matrix getGradientMatrix()
-
trainAll
public void trainAll(ListDataSet dataSet)
-
setParameterMatrix
public void setParameterMatrix(Matrix parameters)
-
setGradientMatrix
public void setGradientMatrix(Matrix gradient)
-
reset
public void reset()
-
emptyCopy
public Classifier emptyCopy()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG