public class FeatureInteractions
extends java.lang.Object
| Constructor and Description |
|---|
FeatureInteractions() |
| Modifier and Type | Method and Description |
|---|---|
static void |
collectFeatureInteractions(hex.genmodel.algos.tree.SharedTreeNode node,
java.util.List<hex.genmodel.algos.tree.SharedTreeNode> interactionPath,
double currentGain,
double currentCover,
double pathProba,
int depth,
int deepening,
FeatureInteractions featureInteractions,
java.util.Set<java.lang.String> memo,
int maxInteractionDepth,
int maxTreeDepth,
int maxDeepening,
int treeIndex,
boolean useSquaredErrorForGain) |
java.util.Set<java.util.Map.Entry<java.lang.String,FeatureInteraction>> |
entrySet() |
FeatureInteraction |
get(java.lang.String key) |
TwoDimTable[] |
getAsTable() |
static TwoDimTable[][] |
getFeatureInteractionsTable(FeatureInteractions featureInteractions) |
TwoDimTable |
getLeafStatisticsTable() |
TwoDimTable[] |
getSplitValueHistograms() |
boolean |
isEmpty() |
int |
maxDepth() |
void |
mergeWith(FeatureInteractions featureInteractions) |
FeatureInteraction |
put(java.lang.String key,
FeatureInteraction value) |
int |
size() |
public void mergeWith(FeatureInteractions featureInteractions)
public boolean isEmpty()
public int maxDepth()
public TwoDimTable[] getAsTable()
public TwoDimTable getLeafStatisticsTable()
public TwoDimTable[] getSplitValueHistograms()
public int size()
public FeatureInteraction get(java.lang.String key)
public FeatureInteraction put(java.lang.String key, FeatureInteraction value)
public java.util.Set<java.util.Map.Entry<java.lang.String,FeatureInteraction>> entrySet()
public static void collectFeatureInteractions(hex.genmodel.algos.tree.SharedTreeNode node,
java.util.List<hex.genmodel.algos.tree.SharedTreeNode> interactionPath,
double currentGain,
double currentCover,
double pathProba,
int depth,
int deepening,
FeatureInteractions featureInteractions,
java.util.Set<java.lang.String> memo,
int maxInteractionDepth,
int maxTreeDepth,
int maxDeepening,
int treeIndex,
boolean useSquaredErrorForGain)
public static TwoDimTable[][] getFeatureInteractionsTable(FeatureInteractions featureInteractions)