All Downloads are FREE. Search and download functionalities are using the official Maven repository.

hex.genmodel.algos.tree.TreeSHAPPredictor Maven / Gradle / Ivy

There is a newer version: 3.46.0.5
Show newest version
package hex.genmodel.algos.tree;

import java.io.Serializable;

public interface TreeSHAPPredictor extends Serializable  {

  float[] calculateContributions(final R feat, float[] out_contribs);

  float[] calculateContributions(final R feat,
                                 float[] out_contribs, int condition, int condition_feature,
                                 Workspace workspace);

  double[] calculateInterventionalContributions(final R feat, final R background, double[] out_contribs, int[] catOffsets, boolean expand);
  
  Workspace makeWorkspace();

  int getWorkspaceSize();

  interface Workspace {
    int getSize();
  }
  
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy