Forráskód Böngészése

DTBOblique: small change to debug output

Sven Sickert 10 éve
szülő
commit
82b3595451
1 módosított fájl, 2 hozzáadás és 1 törlés
  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++ )