public interface TreeSHAPPredictor<R>
extends java.io.Serializable
Modifier and Type | Interface and Description |
---|---|
static interface |
TreeSHAPPredictor.Workspace |
Modifier and Type | Method and Description |
---|---|
float[] |
calculateContributions(R feat,
float[] out_contribs) |
float[] |
calculateContributions(R feat,
float[] out_contribs,
int condition,
int condition_feature,
TreeSHAPPredictor.Workspace workspace) |
double[] |
calculateInterventionalContributions(R feat,
R background,
double[] out_contribs,
int[] catOffsets,
boolean expand) |
int |
getWorkspaceSize() |
TreeSHAPPredictor.Workspace |
makeWorkspace() |
float[] calculateContributions(R feat, float[] out_contribs)
float[] calculateContributions(R feat, float[] out_contribs, int condition, int condition_feature, TreeSHAPPredictor.Workspace workspace)
double[] calculateInterventionalContributions(R feat, R background, double[] out_contribs, int[] catOffsets, boolean expand)
TreeSHAPPredictor.Workspace makeWorkspace()
int getWorkspaceSize()