Home
last modified time | relevance | path

Searched refs:Gmax2 (Results 1 – 2 of 2) sorted by relevance

/external/opencv3/modules/ml/src/
Dsvm.cpp808 double Gmax2 = -DBL_MAX; // max { -grad(f)_i * d | y_i*d = -1 } in select_working_set() local
826 if( !is_lower_bound(i) && (t = G[i]) > Gmax2 ) // d = -1 in select_working_set()
828 Gmax2 = t; in select_working_set()
834 if( !is_upper_bound(i) && (t = -G[i]) > Gmax2 ) // d = +1 in select_working_set()
836 Gmax2 = t; in select_working_set()
850 return Gmax1 + Gmax2 < eps; in select_working_set()
898 double Gmax2 = -DBL_MAX; // max { -grad(f)_i * d | y_i = +1, d = -1 } in select_working_set_nu_svm() local
922 if( !is_lower_bound(i) && (t = G[i]) > Gmax2 ) // d = -1 in select_working_set_nu_svm()
924 Gmax2 = t; in select_working_set_nu_svm()
943 if( MAX(Gmax1 + Gmax2, Gmax3 + Gmax4) < eps ) in select_working_set_nu_svm()
[all …]
/external/opencv/ml/src/
Dmlsvm.cpp753 double Gmax2 = -DBL_MAX; // max { -grad(f)_i * d | y_i*d = -1 } in select_working_set() local
769 if( !is_lower_bound(i) && (t = G[i]) > Gmax2 ) // d = -1 in select_working_set()
771 Gmax2 = t; in select_working_set()
777 if( !is_upper_bound(i) && (t = -G[i]) > Gmax2 ) // d = +1 in select_working_set()
779 Gmax2 = t; in select_working_set()
793 return Gmax1 + Gmax2 < eps; in select_working_set()
842 double Gmax2 = -DBL_MAX; // max { -grad(f)_i * d | y_i = +1, d = -1 } in select_working_set_nu_svm() local
864 if( !is_lower_bound(i) && (t = G[i]) > Gmax2 ) // d = -1 in select_working_set_nu_svm()
866 Gmax2 = t; in select_working_set_nu_svm()
885 if( MAX(Gmax1 + Gmax2, Gmax3 + Gmax4) < eps ) in select_working_set_nu_svm()
[all …]