Răsfoiți Sursa

DTBOblique: small change to debug output

Sven Sickert 10 ani în urmă
părinte
comite
82b3595451
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  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++ )