Interface IRegressionPredictor
-
- All Superinterfaces:
IPredictorInfo
public interface IRegressionPredictor extends IPredictorInfo
Interface for Regression models.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublescore(Iterable<?> row)Scores a single row.doublescore(Map<String,?> row)Scores a single row.-
Methods inherited from interface com.datarobot.prediction.compatible.IPredictorInfo
getFeatures, getModelId, getPredictorClass
-
-
-
-
Method Detail
-
score
double score(Map<String,?> row)
Scores a single row.- Parameters:
row- row with features.- Returns:
- predicted value.
-
score
double score(Iterable<?> row)
Scores a single row.NOTE:
Here
Iterable<?> rowis the feature values in the same order as they goes inIPredictorInfo.getFeatures().- Parameters:
row- row with feature values in right order.- Returns:
- predicted.
-
-