public interface PredictContributions
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
float[] |
calculateContributions(double[] input)
Calculate contributions (SHAP values) for a given input row.
|
FeatureContribution[] |
calculateContributions(double[] input,
int topN,
int bottomN,
boolean compareAbs) |
java.lang.String[] |
getContributionNames() |
float[] calculateContributions(double[] input)
input
- input dataFeatureContribution[] calculateContributions(double[] input, int topN, int bottomN, boolean compareAbs)
java.lang.String[] getContributionNames()