Package com.datarobot.prediction
Interface Predictor
-
- All Known Subinterfaces:
MulticlassPredictor,TimeSeriesPredictor
@Deprecated public interface Predictor
Deprecated.Please retrain your model and use theIRegressionPredictorinterface instead.An interface for Regression models.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description String[]get_double_predictors()Deprecated.Get the names of the columns in order they should be set in @see Row.dString[]get_string_predictors()Deprecated.Get the names of the columns in order they should be set in @see Row.ddoublescore(Row rowToScore)Deprecated.Predicts a single row.
-
-
-
Method Detail
-
score
double score(Row rowToScore) throws Exception
Deprecated.Predicts a single row.- Parameters:
rowToScore- the input row for prediction- Returns:
- the prediction for the given row by the model.
- Throws:
Exception- If an input or internal exception occurs
-
get_double_predictors
String[] get_double_predictors()
Deprecated.Get the names of the columns in order they should be set in @see Row.d- Returns:
- an array of all numeric input variables
-
get_string_predictors
String[] get_string_predictors()
Deprecated.Get the names of the columns in order they should be set in @see Row.d- Returns:
- an array of all non-numeric variables
-
-