Преглед изворни кода

DTBOblique: small change to debug output

Sven Sickert пре 10 година
родитељ
комит
82b3595451
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      classifier/fpclassifier/randomforest/DTBOblique.cpp

+ 2 - 1
classifier/fpclassifier/randomforest/DTBOblique.cpp

@@ -215,7 +215,8 @@ void DTBOblique::findBestSplitThreshold (
     double maxValue = (max_element ( values.begin(), values.end() ))->first;
 
     if ( maxValue - minValue < 1e-7 )
-        std::cerr << "DTBOblique: Difference between min and max of features values to small!" << std::endl;
+        std::cerr << "DTBOblique: Difference between min and max of features values to small!"
+                  << " [" << minValue << "," << maxValue << "]" << std::endl;
 
     // get best thresholds using complete search
     for ( int i = 0; i < splitSteps; i++ )