Package com.datarobot.prediction
Interface Explanation
-
public interface ExplanationInterface for prediction explanation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classExplanation.ExplanationStrengthExplanation Strength.static classExplanation.ExplanationTypeType of the explanation.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetFeatureName()Name of the feature.StringgetFeatureValue()Feature value.Explanation.ExplanationStrengthgetStrength()Returns intuitively understandable String that represents strength relative to all computed explanations.doublegetStrengthScore()Some abstract score based on which we selected this feature with its value.Explanation.ExplanationTypegetType()Returns the type of the prediction explanation.
-
-
-
Method Detail
-
getFeatureName
String getFeatureName()
Name of the feature.- Returns:
- name of the feature.
-
getFeatureValue
String getFeatureValue()
Feature value.- Returns:
- feature value.
-
getStrengthScore
double getStrengthScore()
Some abstract score based on which we selected this feature with its value.- Returns:
- metric.
-
getType
Explanation.ExplanationType getType()
Returns the type of the prediction explanation.- Returns:
- type of the explanation.
-
getStrength
Explanation.ExplanationStrength getStrength()
Returns intuitively understandable String that represents strength relative to all computed explanations.- Returns:
- strength string.
-
-