Searched defs:Gmax2 (Results 1 - 1 of 1) sorted by relevance

/external/opencv/ml/src/
H A Dmlsvm.cpp753 double Gmax2 = -DBL_MAX; // max { -grad(f)_i * d | y_i*d = -1 } local
769 if( !is_lower_bound(i) && (t = G[i]) > Gmax2 ) // d = -1
771 Gmax2 = t;
777 if( !is_upper_bound(i) && (t = -G[i]) > Gmax2 ) // d = +1
779 Gmax2 = t;
793 return Gmax1 + Gmax2 < eps;
842 double Gmax2 = -DBL_MAX; // max { -grad(f)_i * d | y_i = +1, d = -1 } local
864 if( !is_lower_bound(i) && (t = G[i]) > Gmax2 ) // d = -1
866 Gmax2 = t;
885 if( MAX(Gmax1 + Gmax2, Gmax
[all...]

Completed in 81 milliseconds