]> git.donarmstrong.com Git - mothur.git/commitdiff
adding code for confusion matrix
authorkdiverson <kd.iverson@gmail.com>
Wed, 11 Sep 2013 04:48:45 +0000 (00:48 -0400)
committerkdiverson <kd.iverson@gmail.com>
Wed, 11 Sep 2013 04:48:45 +0000 (00:48 -0400)
classifysharedcommand.cpp

index 61914629732f3d690ade523b632d28b6b562431f..482a3eb7969007ba592c5e061c455be24d0cae55 100755 (executable)
@@ -375,6 +375,7 @@ void ClassifySharedCommand::processSharedAndDesignData(vector<SharedRAbundVector
         
         randomForest.populateDecisionTrees();
         randomForest.calcForrestErrorRate();
+        //randomForest.printConfusionMatrix(intToTreatmentMap);
         
         map<string, string> variables; 
         variables["[filename]"] = outputDir + m->getRootName(m->getSimpleName(sharedfile)) + ".RF.";