Package edu.msu.cme.rdp.classifier.train.validation

Examples of edu.msu.cme.rdp.classifier.train.validation.StatusCount


        // initialize a list of statusCount, one for each bootstrap from 0 to 100
        for ( int b = 0; b <= 100; b++){
             HashMap<String, StatusCount> statusCountMap = new HashMap<String, StatusCount>();
             statusCountList.add(statusCountMap);
             for (String rank: factory.getRankSet()){
                 statusCountMap.put(rank, new StatusCount());
             }
         }

        int totalTest = 0;
        int totalSeq = 0;
View Full Code Here


        for( int b = 0; b < statusCountList.size(); b++){
            ret.append(b );
            statusCountMap = statusCountList.get(b);
            for ( String rank: statusCountMap.keySet()){
                if ( rank.startsWith("sub")) continue;
                StatusCount st = statusCountMap.get(rank);
                double se = st.calSensitivity();
                double sp = st.calSpecificity();
                ret.append("\t" + (1-sp) + "\t" + se  );
            }
            ret.append("\n");
        }
        return ret.toString();
View Full Code Here

TOP

Related Classes of edu.msu.cme.rdp.classifier.train.validation.StatusCount

Copyright © 2018 www.massapicom. 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.