Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

void Impala::Core::Training::TestSvm::testDiffParams (  )  [inline]

Definition at line 59 of file TestSvm.h.

References Impala::Core::Training::Svm::Diff().

00060     {
00061         Svm svm1(
00062              "svm_type c_svc \n kernel_type precomputed \n gamma 1 \n\
00063               nr_class 2 \n total_sv 4 \n rho -1.31232 \n label -1 1 \n\
00064               nr_sv 2 2 \n SV\n\
00065               0.1527539041594556 1:0.53225695 2:0.095924066\n\
00066               0.8158872069487452 1:0.46593458 2:0.082806218\n\
00067               0.6799880958087516 1:0.55273578 2:0.071580481\n\
00068               0.7037686596065742 1:0.52942213 2:0.10499618\n");
00069         Svm svm2(
00070              "svm_type c_svc \n kernel_type dist-precomputed \n nr_class 2 \n\
00071               total_sv 4 \n rho -1.31232 \n label -1 1 \n nr_sv 2 2 \n SV\n\
00072               0.1527539041594556 1:0.53225695 2:0.095924066\n\
00073               0.8158872069487452 1:0.46593458 2:0.082806218\n\
00074               0.6799880958087516 1:0.55273578 2:0.071580481\n\
00075               0.7037686596065742 1:0.52942213 2:0.10499618\n");
00076         CPPUNIT_ASSERT_EQUAL(0, svm1.Diff(&svm2));
00077     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:21:22 2011 for ImpalaSrc by  doxygen 1.5.1