Package com.datarobot.prediction
Interface Explanation
-
public interface Explanation
Interface for prediction explanation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Explanation.ExplanationStrength
Explanation Strength.static class
Explanation.ExplanationType
Type of the explanation.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getFeatureName()
Name of the feature.String
getFeatureValue()
Feature value.Explanation.ExplanationStrength
getStrength()
Returns intuitively understandable String that represents strength relative to all computed explanations.double
getStrengthScore()
Some abstract score based on which we selected this feature with its value.Explanation.ExplanationType
getType()
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.
-
-