Home | History | Annotate | Download | only in src

Lines Matching refs:_y

386 CvSVMSolver::CvSVMSolver( int _sample_count, int _var_count, const float** _samples, schar* _y,
392 create( _sample_count, _var_count, _samples, _y, _alpha_count, _alpha, _Cp, _Cn,
397 bool CvSVMSolver::create( int _sample_count, int _var_count, const float** _samples, schar* _y,
416 y = _y;
520 const schar* _y = y;
522 assert( _y && i < sample_count );
524 if( _y[i] > 0 )
527 row[j] = _y[j]*row[j];
532 row[j] = -_y[j]*row[j];
954 bool CvSVMSolver::solve_c_svc( int _sample_count, int _var_count, const float** _samples, schar* _y,
960 if( !create( _sample_count, _var_count, _samples, _y, _sample_count,
981 bool CvSVMSolver::solve_nu_svc( int _sample_count, int _var_count, const float** _samples, schar* _y,
988 if( !create( _sample_count, _var_count, _samples, _y, _sample_count,
1060 const float* _y, CvMemStorage* _storage,
1077 b[i] = p - _y[i];
1081 b[i+sample_count] = p + _y[i];
1096 const float* _y, CvMemStorage* _storage,
1116 b[i] = -_y[i];
1119 b[i + sample_count] = _y[i];