Package weka.classifiers

Examples of weka.classifiers.Evaluation.weightedAreaUnderROC()


                bnCopy = Classifier.makeCopy(bn);
                ev = new Evaluation(setOf2);
            ev.crossValidateModel(bnCopy, setOf2,Math.min(data.numInstances(),5),rnd)//5 fold CV

                m_ROCs[att_counter] = ev.weightedAreaUnderROC();
    //            System.out.println(m_ROCs[att_counter]);
        }} /// END LOOP - RELOAD ALL ATTRIBUTES
    }

  /**
 
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.