public class ImportanceByUses extends Object implements TreeFeatureImportanceInference
Constructor and Description |
---|
ImportanceByUses() |
ImportanceByUses(boolean weightByDepth) |
Modifier and Type | Method and Description |
---|---|
<Type extends DataSet> |
getImportanceStats(TreeLearner model,
DataSet<Type> data) |
public ImportanceByUses(boolean weightByDepth)
public ImportanceByUses()
public <Type extends DataSet> double[] getImportanceStats(TreeLearner model, DataSet<Type> data)
getImportanceStats
in interface TreeFeatureImportanceInference
model
- the tree model to infer feature importance fromdata
- the dataset to use for importance inference. Should be either
a Classification or Regression dataset, depending on the type of the
model.Copyright © 2017. All rights reserved.