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, setLabelspublic UnivariateRegressionOutput predict(Example example)
predict in interface PredictionFunctionpredict in interface RegressionFunctionpredict in class UnivariateRegressionFunctionpublic BinaryLinearModel getModel()
PredictionFunctiongetModel in interface PredictionFunctiongetModel in class UnivariateRegressionFunctionpublic void setModel(Model model)
PredictionFunctionmodel - the model to setCopyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.