Home
last modified time | relevance | path

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

/external/opencv3/modules/ml/src/
Dsvm.cpp805 double Gmax1 = -DBL_MAX; // max { -grad(f)_i * d | y_i*d = +1 } in select_working_set() local
821 if( !is_upper_bound(i) && (t = -G[i]) > Gmax1 ) // d = +1 in select_working_set()
823 Gmax1 = t; in select_working_set()
839 if( !is_lower_bound(i) && (t = G[i]) > Gmax1 ) // d = -1 in select_working_set()
841 Gmax1 = t; in select_working_set()
850 return Gmax1 + Gmax2 < eps; in select_working_set()
895 double Gmax1 = -DBL_MAX; // max { -grad(f)_i * d | y_i = +1, d = +1 } in select_working_set_nu_svm() local
917 if( !is_upper_bound(i) && (t = -G[i]) > Gmax1 ) // d = +1 in select_working_set_nu_svm()
919 Gmax1 = 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.cpp750 double Gmax1 = -DBL_MAX; // max { -grad(f)_i * d | y_i*d = +1 } in select_working_set() local
764 if( !is_upper_bound(i) && (t = -G[i]) > Gmax1 ) // d = +1 in select_working_set()
766 Gmax1 = t; in select_working_set()
782 if( !is_lower_bound(i) && (t = G[i]) > Gmax1 ) // d = -1 in select_working_set()
784 Gmax1 = t; in select_working_set()
793 return Gmax1 + Gmax2 < eps; in select_working_set()
839 double Gmax1 = -DBL_MAX; // max { -grad(f)_i * d | y_i = +1, d = +1 } in select_working_set_nu_svm() local
859 if( !is_upper_bound(i) && (t = -G[i]) > Gmax1 ) // d = +1 in select_working_set_nu_svm()
861 Gmax1 = t; in select_working_set_nu_svm()
885 if( MAX(Gmax1 + Gmax2, Gmax3 + Gmax4) < eps ) in select_working_set_nu_svm()
[all …]