public abstract class AbstractFeatureImportance extends java.lang.Object implements FeatureImportance
| Constructor and Description |
|---|
AbstractFeatureImportance() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<FeatureRank> |
getFeatures() |
java.util.Collection<FeatureRank> |
getFeaturesSorted() |
MLRegression |
getModel() |
void |
init(MLRegression theModel,
java.lang.String[] theFeatureNames)
Initialize a model
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitperformRanking, performRankingpublic void init(MLRegression theModel, java.lang.String[] theFeatureNames)
init in interface FeatureImportancetheModel - The model that will be used for ranking.theFeatureNames - The names of the fields.public java.util.List<FeatureRank> getFeatures()
getFeatures in interface FeatureImportancepublic java.util.Collection<FeatureRank> getFeaturesSorted()
getFeaturesSorted in interface FeatureImportancepublic java.lang.String toString()
toString in class java.lang.Objectpublic MLRegression getModel()
getModel in interface FeatureImportance