public abstract class UnivariateRegressionFunction extends Object implements RegressionFunction
| Constructor and Description |
|---|
UnivariateRegressionFunction() |
| Modifier and Type | Method and Description |
|---|---|
List<Label> |
getLabels()
Returns the labels representing the concept to be predicted.
|
abstract BinaryModel |
getModel()
Returns the model
|
abstract UnivariateRegressionOutput |
predict(Example example) |
void |
reset()
Resets all the predictor parameters to the default state.
|
void |
setLabels(List<Label> labels)
Sets the labels representing the concept to be predicted.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetModelprotected Label property
public void setLabels(List<Label> labels)
PredictionFunctionsetLabels in interface PredictionFunctionpositiveClass - the label associated to the positive classpublic List<Label> getLabels()
PredictionFunctiongetLabels in interface PredictionFunctionpublic abstract UnivariateRegressionOutput predict(Example example)
predict in interface PredictionFunctionpredict in interface RegressionFunctionpublic abstract BinaryModel getModel()
PredictionFunctiongetModel in interface PredictionFunctionpublic void reset()
PredictionFunctionreset in interface PredictionFunctionCopyright © 2015 Semantic Analytics Group @ Uniroma2. All rights reserved.