Home
last modified time | relevance | path

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

/external/opencv/ml/src/
Dmlsvm.cpp626 double old_alpha_i, old_alpha_j, alpha_i, alpha_j; in solve_generic() local
650 alpha_j = old_alpha_j = alpha[j]; in solve_generic()
656 double diff = alpha_i - alpha_j; in solve_generic()
658 alpha_j += delta; in solve_generic()
660 if( diff > 0 && alpha_j < 0 ) in solve_generic()
662 alpha_j = 0; in solve_generic()
668 alpha_j = -diff; in solve_generic()
674 alpha_j = C_i - diff; in solve_generic()
676 else if( diff <= C_i - C_j && alpha_j > C_j ) in solve_generic()
678 alpha_j = C_j; in solve_generic()
[all …]