Examples of rankedAttributes()


Examples of weka.attributeSelection.AttributeSelection.rankedAttributes()

  public void evaluateAttributes(String corpusName, String featureSetName,
      String splitName, Instances inst, String label, Integer run,
      Integer fold) throws Exception {
    AttributeSelection ae = this.getAttributeSelection();
    ae.SelectAttributes(inst);
    double rankedAttributes[][] = ae.rankedAttributes();
    FeatureEvaluation fe = initializeFeatureEvaluation(corpusName,
        featureSetName, splitName, label, run, fold);
    List<FeatureRank> featureRanks = new ArrayList<FeatureRank>(
        rankedAttributes.length);
    for (int i = 0; i < rankedAttributes.length; i++) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.