All feature ranking algorithms provide the following method to determine the rank of a features. Lower ranks are better.
public int rank(int attIndex);
/* Load the iris data set */ /* Create a feature ranking algorithm */ RecursiveFeatureEliminationSVM svmrfe = new RecursiveFeatureEliminationSVM(0.2); /* Apply the algorithm to the data set */ svmrfe.build(data); /* Print out the rank of each attribute */ for (int i = 0; i < svmrfe.noAttributes(); i++)