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

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

Definition at line 80 of file TestSvm.h.

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

00081     {
00082         Svm svm1(
00083              "svm_type c_svc \n kernel_type rbf \n gamma 1 \n nr_class 2 \n\
00084               probA -2.0 \n probB -1.0 \n\
00085               total_sv 4 \n rho -1.31232 \n label -1 1 \n nr_sv 2 2 \n SV\n\
00086               0.1527539041594556 1:0.53225695 2:0.095924066\n\
00087               0.8158872069487452 1:0.46593458 2:0.082806218\n\
00088               0.6799880958087516 1:0.55273578 2:0.071580481\n\
00089               0.7037686596065742 1:0.52942213 2:0.10499618\n");
00090         Svm svm2(
00091              "svm_type c_svc \n kernel_type rbf \n gamma 1 \n nr_class 2 \n\
00092               probA -2.0 \n probB -1.0 \n\
00093               total_sv 4 \n rho -1.7 \n label -1 1 \n nr_sv 3 1 \n SV\n\
00094               0.1527539041594556 1:0.53225695 2:0.095924066\n\
00095               0.8158872069487452 1:0.46593458 2:0.082806218\n\
00096               0.6799880958087516 1:0.55273578 2:0.071580481\n\
00097               0.7037686596065742 1:0.52942213 2:0.10499618\n");
00098         CPPUNIT_ASSERT_EQUAL(3, svm1.Diff(&svm2));
00099     }

Here is the call graph for this function:


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