public interface TreeFeatureImportanceInference extends Serializable
Modifier and Type | Method and Description |
---|---|
<Type extends DataSet> |
getImportanceStats(TreeLearner model,
DataSet<Type> data) |
<Type extends DataSet> double[] getImportanceStats(TreeLearner model, DataSet<Type> data)
Type
- 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.