public class LinearRegressionGradientDescent extends AbstractClassifier
Algorithm.EdgeDirection| Modifier and Type | Field and Description |
|---|---|
static String |
GRADIENT |
static String |
PARAMETERS |
mode, OUTPUTERRORALGORITHM, PREDICT, TRAINFactoryALGORITHMARRAY, COMPRESSED, DECOMPRESSED, DIFFERENCE, DIMENSION, HASH, IGNORENAN, INPUT, PREDICTED, RMSE, SOURCE, TARGET, WEIGHTDESCRIPTION| Constructor and Description |
|---|
LinearRegressionGradientDescent() |
| Modifier and Type | Method and Description |
|---|---|
Classifier |
emptyCopy() |
Matrix |
getGradientMatrix() |
Variable |
getGradientVariable() |
Matrix |
getParameterMatrix() |
Variable |
getParameterVariable() |
Matrix |
predictOne(Matrix input) |
void |
reset() |
void |
setGradientMatrix(Matrix gradient) |
void |
setGradientVariable(Variable variable) |
void |
setParameterMatrix(Matrix parameters) |
void |
setParameterVariable(Variable variable) |
void |
trainAll(ListDataSet dataSet) |
getClassCount, getFeatureCount, getInputLabel, getMode, getOutputErrorAlgorithm, getTargetLabel, getWeightLabel, isDiscrete, predictAll, predictOne, setInputLabel, setMode, setOutputErrorAlgorithm, setTargetLabel, setWeightLabel, trainOne, trainOne, trainOneaddVariableKey, 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, toStringclone, fireValueChanged, getCoreObjectId, getGUIObject, showGUIequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetClassCount, getFeatureCount, getInputLabel, getTargetLabel, isDiscrete, predictAll, predictOne, trainOne, trainOne, trainOneclone, getCoreObjectIdfireValueChanged, getGUIObject, showGUIpublic static final String PARAMETERS
public static final String GRADIENT
public void setParameterVariable(Variable variable)
public Variable getParameterVariable()
public void setGradientVariable(Variable variable)
public Variable getGradientVariable()
public Matrix getParameterMatrix()
public Matrix getGradientMatrix()
public void trainAll(ListDataSet dataSet)
public void setParameterMatrix(Matrix parameters)
public void setGradientMatrix(Matrix gradient)
public void reset()
public Classifier emptyCopy()
Copyright © 2015 Java Data Mining Package. All rights reserved.