org.jdmp.core.algorithm.regression
Class AbstractRegressor
java.lang.Object
org.jdmp.core.AbstractCoreObject
org.jdmp.core.algorithm.AbstractAlgorithm
org.jdmp.core.algorithm.regression.AbstractRegressor
- All Implemented Interfaces:
- Serializable, Cloneable, Algorithm, HasAlgorithmMap, HasAlgorithms, Regressor, CoreObject, HasVariableMap, HasVariables, Clearable, HasDescription, HasGUIObject, HasLabel
- Direct Known Subclasses:
- AbstractClassifier
public abstract class AbstractRegressor
- extends AbstractAlgorithm
- implements Regressor
- See Also:
- Serialized Form
| Methods inherited from class org.jdmp.core.algorithm.AbstractAlgorithm |
addVariableKey, calculate, calculate, calculate, calculate, calculateObjects, calculateObjects, calculateObjects, clear, getAlgorithms, getAsString, getDescription, getEdgeDirection, getEdgeLabel, getGUIObject, getInputKeys, getLabel, getMatrix, getOutputKeys, getVariableKeys, getVariables, notifyGUIObject, setAlgorithm, setDescription, setEdgeDirection, setEdgeLabel, setLabel, setMatrix, setObject, setVariable, setVariables, setVariables, toString |
OUTPUTERRORALGORITHM
public static final int OUTPUTERRORALGORITHM
- See Also:
- Constant Field Values
TRAIN
public static final int TRAIN
- See Also:
- Constant Field Values
PREDICT
public static final int PREDICT
- See Also:
- Constant Field Values
mode
public int mode
AbstractRegressor
public AbstractRegressor()
AbstractRegressor
public AbstractRegressor(boolean evaluate)
train
public abstract void train(RegressionDataSet dataSet)
throws Exception
- Specified by:
train in interface Regressor
- Throws:
Exception
reset
public abstract void reset()
throws Exception
- Specified by:
reset in interface Regressor
- Throws:
Exception
train
public abstract void train(Matrix input,
Matrix sampleWeight,
Matrix targetOutput)
throws Exception
- Specified by:
train in interface Regressor
- Throws:
Exception
predict
public final void predict(Sample sample)
throws Exception
- Specified by:
predict in interface Regressor
- Throws:
Exception
predict
public final Matrix predict(Matrix input)
throws Exception
- Specified by:
predict in interface Regressor
- Throws:
Exception
train
public final void train(Matrix input,
Matrix targetOutput)
throws Exception
- Specified by:
train in interface Regressor
- Throws:
Exception
predict
public abstract Matrix predict(Matrix input,
Matrix sampleWeight)
throws Exception
- Specified by:
predict in interface Regressor
- Throws:
Exception
train
public final void train(Sample sample)
throws Exception
- Specified by:
train in interface Regressor
- Throws:
Exception
predict
public void predict(RegressionDataSet dataSet)
throws Exception
- Specified by:
predict in interface Regressor
- Throws:
Exception
getOutputErrorAlgorithm
public Algorithm getOutputErrorAlgorithm()
setOutputErrorAlgorithm
public void setOutputErrorAlgorithm(Algorithm a)
getMode
public int getMode()
setMode
public void setMode(int mode)
Copyright © 2009. All Rights Reserved.