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

bool Impala::Core::Training::EqualsForModel ( const svm_parameter *  p1,
const svm_parameter *  p2 
)

Definition at line 44 of file Equals.h.

References cPrecision.

Referenced by Equals().

00045 {
00046     if(p1->svm_type != p2->svm_type)
00047         return false;
00048     if(p1->kernel_type != p2->kernel_type)
00049         return false;
00050     if(abs(p1->gamma - p2->gamma) > cPrecision)
00051         return false;
00052     return true;
00053 }


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