瀏覽代碼

reactivated parallel training of multiple trees

Sven Sickert 8 年之前
父節點
當前提交
6a202623a9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      classifier/fpclassifier/randomforest/FPCRandomForests.cpp

+ 1 - 1
classifier/fpclassifier/randomforest/FPCRandomForests.cpp

@@ -357,7 +357,7 @@ void FPCRandomForests::train(FeaturePool & fp, Examples & examples)
 		/******* training of an individual tree ****/
 		DecisionTree *tree = new DecisionTree(conf, maxClassNo);
 
-        #pragma omp critical
+        //#pragma omp critical
         builder->build(*tree, fp_subset, examples_subset, maxClassNo);
 
 		/******* prune tree using a simple minimum entropy criterion *****/