Pārlūkot izejas kodu

corrected eriks verbose-suppression for SVDD-training

Alexander Luetz 13 gadi atpakaļ
vecāks
revīzija
884418262b
2 mainītis faili ar 4 papildinājumiem un 4 dzēšanām
  1. 2 2
      progs/ImagenetBinary.conf
  2. 2 2
      progs/testImageNetBinaryBruteForce.cpp

+ 2 - 2
progs/ImagenetBinary.conf

@@ -26,7 +26,7 @@ noiseGPVarApproxFile = /home/luetz/code/nice/vislearning/progs/gpvarNoise.txt
 
 indexOfFirstClass = 0
 indexOfLastClass = 0
-runsPerClassToAverageTraining = 1000
-runsPerClassToAverageTraining = 1000
+runsPerClassToAverageTraining = 10
+runsPerClassToAverageTraining = 10
 
 nrOfExamplesPerClass = 50

+ 2 - 2
progs/testImageNetBinaryBruteForce.cpp

@@ -231,9 +231,9 @@ KCMinimumEnclosingBall *trainSVDD( const double & noise, const NICE::Matrix kern
     Config conf;
     // set the outlier ratio (Paul optimized this paramter FIXME)
     conf.sD( "SVDD", "outlier_fraction", 0.1 );
-    KCMinimumEnclosingBall *svdd = new KCMinimumEnclosingBall ( &conf, NULL /* no kernel function */, "SVDD" /* config section */, false /* update cholesky */ );
+    KCMinimumEnclosingBall *svdd = new KCMinimumEnclosingBall ( &conf, NULL /* no kernel function */, "SVDD" /* config section */);
 
-    KernelData kernelData ( &conf, kernelMatrix, "Kernel" );
+    KernelData kernelData ( &conf, kernelMatrix, "Kernel" , false /* update cholesky */ );
  
     Timer tTrainPrecise;
     tTrainPrecise.start();