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

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

Definition at line 102 of file TestSvm.h.

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

00103     {
00104         Svm svm1(
00105              "svm_type c_svc \n kernel_type rbf \n gamma 1 \n nr_class 2 \n\
00106               probA -2.0 \n probB -1.0 \n\
00107               total_sv 3 \n rho -1.31232 \n label -1 1 \n nr_sv 2 2 \n SV\n\
00108               0.2 1:0.2 2:0.2\n\
00109               0.3 1:0.3 2:0.3\n\
00110               0.4 1:0.4 2:0.4\n");
00111         Svm svm2(
00112              "svm_type c_svc \n kernel_type rbf \n gamma 1 \n nr_class 2 \n\
00113               probA -2.0 \n probB -1.0 \n\
00114               total_sv 4 \n rho -1.31232 \n label -1 1 \n nr_sv 2 2 \n SV\n\
00115               0.1 1:0.1 2:0.1\n\
00116               0.2 1:0.2 2:0.2\n\
00117               0.3 1:0.3 2:0.3\n\
00118               0.4 1:0.4 2:0.4\n");
00119         CPPUNIT_ASSERT_EQUAL(1, svm1.Diff(&svm2));
00120     }

Here is the call graph for this function:


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