public abstract class AbstractRegressor extends AbstractAlgorithm implements Regressor
Algorithm.EdgeDirection| Modifier and Type | Field and Description |
|---|---|
int |
mode |
static String |
OUTPUTERRORALGORITHM |
static int |
PREDICT |
static int |
TRAIN |
ALGORITHMARRAY, COMPRESSED, DECOMPRESSED, DIFFERENCE, DIMENSION, HASH, IGNORENAN, INPUT, PREDICTED, RMSE, SOURCE, TARGET, WEIGHTDESCRIPTION| Constructor and Description |
|---|
AbstractRegressor() |
AbstractRegressor(String inputLabel) |
AbstractRegressor(String inputLabel,
String targetLabel) |
AbstractRegressor(String inputLabel,
String targetLabel,
String weightLabel) |
| Modifier and Type | Method and Description |
|---|---|
int |
getClassCount(ListDataSet dataSet) |
int |
getFeatureCount(ListDataSet dataSet) |
String |
getInputLabel() |
int |
getMode() |
Algorithm |
getOutputErrorAlgorithm() |
String |
getTargetLabel() |
String |
getWeightLabel() |
boolean |
isDiscrete(ListDataSet dataSet) |
void |
predictAll(ListDataSet dataSet) |
void |
predictOne(Sample sample) |
void |
setInputLabel(String inputLabel) |
void |
setMode(int mode) |
void |
setOutputErrorAlgorithm(Algorithm a) |
void |
setTargetLabel(String targetLabel) |
void |
setWeightLabel(String weightLabel) |
void |
trainOne(Matrix input,
Matrix targetOutput) |
void |
trainOne(Matrix input,
Matrix sampleWeight,
Matrix targetOutput) |
void |
trainOne(Sample sample) |
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, toStringclone, fireValueChanged, getCoreObjectId, getGUIObject, showGUIequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitemptyCopy, predictOne, reset, trainAllclone, getCoreObjectIdfireValueChanged, getGUIObject, showGUIpublic static final String OUTPUTERRORALGORITHM
public static final int TRAIN
public static final int PREDICT
public int mode
public AbstractRegressor(String inputLabel, String targetLabel, String weightLabel)
public AbstractRegressor(String inputLabel)
public AbstractRegressor()
public int getClassCount(ListDataSet dataSet)
getClassCount in interface Regressorpublic boolean isDiscrete(ListDataSet dataSet)
isDiscrete in interface Regressorpublic int getFeatureCount(ListDataSet dataSet)
getFeatureCount in interface Regressorpublic String getInputLabel()
getInputLabel in interface Regressorpublic String getWeightLabel()
public void setWeightLabel(String weightLabel)
public void setInputLabel(String inputLabel)
public String getTargetLabel()
getTargetLabel in interface Regressorpublic void setTargetLabel(String targetLabel)
public final void predictOne(Sample sample)
predictOne in interface Regressorpublic void predictAll(ListDataSet dataSet)
predictAll in interface Regressorpublic Algorithm getOutputErrorAlgorithm()
public void setOutputErrorAlgorithm(Algorithm a)
public int getMode()
public void setMode(int mode)
Copyright © 2015 Java Data Mining Package. All rights reserved.