Definition at line 15 of file BestFile.h. References Impala::Core::Vector::Diff(), and Impala::Util::PropertySet::GetDouble(). Referenced by BestFileReferenceDiff(), Impala::Core::Training::TestBestFile::testDiffDefaults(), Impala::Core::Training::TestBestFile::testDiffIgnore(), and Impala::Core::Training::TestBestFile::testDiffSimple(). 00016 { 00017 svm_parameter* params1 = MakeSvmParams(set1, 0, 0); 00018 svm_parameter* params2 = MakeSvmParams(set2, 0, 0); 00019 const int svmParamCount = 13; 00020 const String svmParamList[svmParamCount] = 00021 {"C", "cache", "coef0", "degree", "gamma", "eps", "kernel", "nu", "p", 00022 "probability", "shrinking", "w1", "w2"}; 00023 int diff = Impala::Diff(params1, params2, false); 00024 if (set1->GetDouble("score", -1) != set1->GetDouble("score", -1)) 00025 diff++; 00026 delete params1; 00027 delete params2; 00028 return diff; 00029 }
Here is the call graph for this function:
|