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

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



            curTree.hideSeq(wordIterator);
            List result = dm.getBestClasspath( wordIterator, genusNodeMap, false, min_bootstrap_words);

            ValidClassificationResultFacade resultFacade = new ValidClassificationResultFacade(pSeq, result);
            resultFacade.setLabeledNode(curTree);
            compareClassificationResult(resultFacade);

            resultList.add(resultFacade);
            i++;
            // recover the wordOccurrence of the genus node, unhide
View Full Code Here


            throws IOException {
        int i = 0;

        outFile.write("\n missclassified getSequence()s: \n");
        for (i = 0; i < seqs.size(); i++) {
            ValidClassificationResultFacade resultFacade = (ValidClassificationResultFacade) seqs.get(i);
            if (resultFacade.isMissed()) {
                printPath(resultFacade, outFile);
            }
        }

        DecimalFormat df = new DecimalFormat("0.###");
View Full Code Here

            }else {
                nodeMap.remove(curTree.getName());
            }
           
            List<ValidationClassificationResult> result = dm.getBestClasspath( wordIterator, nodeMap, useSeed, min_bootstrap_words);
            ValidClassificationResultFacade resultFacade = new ValidClassificationResultFacade(pSeq, result);
            resultFacade.setLabeledNode(curTree);
            compareClassificationResult(resultFacade);

            // for ROC curve
            labelAssignmentStatus(factory, resultFacade, statusCountList);
         
View Full Code Here

        }

        outFile.write("\n**misclassified sequences: \n");
        for (i = 0; i < seqs.size(); i++) {
            ValidClassificationResultFacade resultFacade = (ValidClassificationResultFacade) seqs.get(i);
            if (resultFacade.isMissed()) {
                outFile.write(resultFacade.getPath() + "\n");

            }
        }
       
        outFile.write("\n**singleton sequences: \n");
        for (i = 0; i < seqs.size(); i++) {
            ValidClassificationResultFacade resultFacade = (ValidClassificationResultFacade) seqs.get(i);
            if (resultFacade.getLabeledNode().isSingleton()) {
                outFile.write(resultFacade.getPath() + "\n");

            }
        }

    }
View Full Code Here

          }
       
          List result = dm.getBestClasspath( wordIterator, genusNodeMap, useSeed, min_bootstrap_words);

          //xxx
          ValidClassificationResultFacade resultFacade = new ValidClassificationResultFacade(pSeq, result);

          compareClassificationResult(factory, resultFacade, rankNodeMap, statusCountList);

          totalTest++;
        }
View Full Code Here

TOP

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

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.