Package com.datarobot.prediction
Interface IPredictorInfo
-
- All Known Subinterfaces:
IClassificationPredictor,IRegressionPredictor,ITimeSeriesModelInfo,ITimeSeriesRegressionPredictor
- All Known Implementing Classes:
TimeSeriesRegressionPredictorImpl
public interface IPredictorInfoInterface with common information for all models.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExplanationParamsgetDefaultPredictionExplanationParams()Retrieves default prediction explanation parameters.LinkedHashMap<String,Class>getFeatures()Model specific features that are required for scoring.StringgetModelId()DataRobot Model ID.Map<String,String>getModelInfo()Map with different model information.Class<?>getPredictorClass()What the type of the model
-
-
-
Method Detail
-
getModelId
String getModelId()
DataRobot Model ID.- Returns:
- string model id.
-
getFeatures
LinkedHashMap<String,Class> getFeatures()
Model specific features that are required for scoring. The order of entries is important.- Returns:
- Map of feature names and expected type in the order.
-
getPredictorClass
Class<?> getPredictorClass()
What the type of the model- Returns:
- interface class that implements that particular model.
-
getDefaultPredictionExplanationParams
ExplanationParams getDefaultPredictionExplanationParams()
Retrieves default prediction explanation parameters.- Returns:
- Default prediction explanation params, null if no defaults available.
-
-