public class LinearRegression extends AbstractRegressor
Algorithm.EdgeDirection| Modifier and Type | Field and Description |
|---|---|
static String |
PARAMETERS |
mode, OUTPUTERRORALGORITHM, PREDICT, TRAINALGORITHMARRAY, COMPRESSED, DECOMPRESSED, DIFFERENCE, DIMENSION, HASH, IGNORENAN, INPUT, PREDICTED, RMSE, SOURCE, TARGET, WEIGHTDESCRIPTION| Constructor and Description |
|---|
LinearRegression() |
LinearRegression(int numberOfPrincipalComponents) |
| Modifier and Type | Method and Description |
|---|---|
Regressor |
emptyCopy() |
Matrix |
getParameterMatrix() |
Variable |
getParameterVariable() |
Matrix |
predictOne(Matrix input) |
void |
reset() |
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, waitclone, getCoreObjectIdfireValueChanged, getGUIObject, showGUIpublic static final String PARAMETERS
public LinearRegression()
public LinearRegression(int numberOfPrincipalComponents)
public void setParameterVariable(Variable variable)
public Variable getParameterVariable()
public Matrix getParameterMatrix()
public void trainAll(ListDataSet dataSet)
public void setParameterMatrix(Matrix parameters)
public void reset()
public Regressor emptyCopy()
Copyright © 2015 Java Data Mining Package. All rights reserved.