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, wait
setModel
protected Label property
public void setLabels(List<Label> labels)
PredictionFunction
setLabels
in interface PredictionFunction
positiveClass
- the label associated to the positive classpublic List<Label> getLabels()
PredictionFunction
getLabels
in interface PredictionFunction
public abstract UnivariateRegressionOutput predict(Example example)
predict
in interface PredictionFunction
predict
in interface RegressionFunction
public abstract BinaryModel getModel()
PredictionFunction
getModel
in interface PredictionFunction
public void reset()
PredictionFunction
reset
in interface PredictionFunction
Copyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.