Package weka.filters.supervised.attribute

Examples of weka.filters.supervised.attribute.AttributeSelection.useFilter()


        attribSel.setEvaluator(roc);
        attribSel.setSearch(rnkr);

        attribSel.setInputFormat(learn);
        Instances learnPostSel = attribSel.useFilter(learn, attribSel);
        Instances holdPostSel = attribSel.useFilter(hold, attribSel);

        wrep.BGS_univariate_ROC = new double[learn.numAttributes()-1];
        for (int univ_counter = 0 ; univ_counter<learnPostSel.numAttributes()-1; univ_counter++) {
            wrep.BGS_univariate_ROC[univ_counter] = roc.evaluateAttribute(univ_counter);
View Full Code Here


        attribSel.setEvaluator(roc);
        attribSel.setSearch(rnkr);

        attribSel.setInputFormat(learn);
        Instances learnPostSel = attribSel.useFilter(learn, attribSel);
        Instances holdPostSel = attribSel.useFilter(hold, attribSel);

        wrep.BGS_univariate_ROC = new double[learn.numAttributes()-1];
        for (int univ_counter = 0 ; univ_counter<learnPostSel.numAttributes()-1; univ_counter++) {
            wrep.BGS_univariate_ROC[univ_counter] = roc.evaluateAttribute(univ_counter);
        }
View Full Code Here

        attribSel.setEvaluator(pval);
        attribSel.setSearch(rnkr);


        attribSel.setInputFormat(learn);
        Instances learnPostSel = attribSel.useFilter(learn, attribSel);
        Instances holdPostSel = attribSel.useFilter(hold, attribSel);

        wrep.TTEST_univariate_p_value_raw = new double[learnPostSel.numAttributes() - 1];
        wrep.TTEST_univariate_p_value_log = new double[learnPostSel.numAttributes() - 1];
        wrep.TTEST_univariate_fold_change_log = new double[learnPostSel.numAttributes() - 1];
View Full Code Here

        attribSel.setSearch(rnkr);


        attribSel.setInputFormat(learn);
        Instances learnPostSel = attribSel.useFilter(learn, attribSel);
        Instances holdPostSel = attribSel.useFilter(hold, attribSel);

        wrep.TTEST_univariate_p_value_raw = new double[learnPostSel.numAttributes() - 1];
        wrep.TTEST_univariate_p_value_log = new double[learnPostSel.numAttributes() - 1];
        wrep.TTEST_univariate_fold_change_log = new double[learnPostSel.numAttributes() - 1];
        wrep.TTEST_univariate_fold_change_raw = new double[learnPostSel.numAttributes() - 1];
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.