public class UnivariateLinearRegressionFunction extends UnivariateRegressionFunction
property
Constructor and Description |
---|
UnivariateLinearRegressionFunction() |
Modifier and Type | Method and Description |
---|---|
BinaryLinearModel |
getModel()
Returns the model
|
UnivariateRegressionOutput |
predict(Example example) |
void |
setModel(Model model)
Sets the model
|
getLabels, reset, setLabels
public UnivariateRegressionOutput predict(Example example)
predict
in interface PredictionFunction
predict
in interface RegressionFunction
predict
in class UnivariateRegressionFunction
public BinaryLinearModel getModel()
PredictionFunction
getModel
in interface PredictionFunction
getModel
in class UnivariateRegressionFunction
public void setModel(Model model)
PredictionFunction
model
- the model to setCopyright © 2015 Semantic Analytics Group @ Uniroma2. All rights reserved.