Home | History | Annotate | Download | only in src

Lines Matching full:_alpha

478                 vector<double>& _alpha, const vector<double>& _b,
491 alpha_vec = &_alpha;
1011 vector<double>& _alpha, SolutionInfo& _si, TermCriteria termCrit )
1015 _alpha.assign(sample_count, 0.);
1018 Solver solver( _samples, _y, _alpha, _b, _Cp, _Cn, _kernel,
1028 _alpha[i] *= _y[i];
1036 vector<double>& _alpha, SolutionInfo& _si,
1041 _alpha.resize(sample_count);
1060 _alpha[i] = a;
1063 Solver solver( _samples, _y, _alpha, _b, 1., 1., _kernel,
1075 _alpha[i] *= _y[i]*inv_r;
1087 vector<double>& _alpha, SolutionInfo& _si,
1096 _alpha.resize(sample_count);
1098 _alpha[i] = i < n ? 1 : 0;
1101 _alpha[n] = nu * sample_count - n;
1103 _alpha[n-1] = nu * sample_count - (n-1);
1105 Solver solver( _samples, _y, _alpha, _b, 1., 1., _kernel,
1116 vector<double>& _alpha, SolutionInfo& _si,
1124 _alpha.assign(alpha_count, 0.);
1137 Solver solver( _samples, _y, _alpha, _b, C, C, _kernel,
1147 _alpha[i] -= _alpha[i+sample_count];
1155 vector<double>& _alpha, SolutionInfo& _si,
1164 _alpha.resize(alpha_count);
1170 _alpha[i] = _alpha[i + sample_count] = std::min(sum, C);
1171 sum -= _alpha[i];
1180 Solver solver( _samples, _y, _alpha, _b, 1., 1., _kernel,
1190 _alpha[i] -= _alpha[i+sample_count];
1361 vector<double> _alpha;
1377 svmType == ONE_CLASS ? Solver::solve_one_class( _samples, params.nu, kernel, _alpha, sinfo, params.termCrit ) :
1378 svmType == EPS_SVR ? Solver::solve_eps_svr( _samples, _yf, params.p, params.C, kernel, _alpha, sinfo, params.termCrit ) :
1379 svmType == NU_SVR ? Solver::solve_nu_svr( _samples, _yf, params.nu, params.C, kernel, _alpha, sinfo, params.termCrit ) : false;
1385 sv_count += fabs(_alpha[i]) > 0;
1395 if( std::abs(_alpha[i]) > 0 )
1398 df_alpha[k] = _alpha[i];
1490 kernel, _alpha, sinfo, params.termCrit ) :
1493 kernel, _alpha, sinfo, params.termCrit ) :
1503 if( std::abs(_alpha[k]) > 0 )
1508 df_alpha.push_back(_alpha[k]);
1940 double getDecisionFunction(int i, OutputArray _alpha, OutputArray _svidx ) const
1945 Mat(1, count, CV_64F, (double*)&df_alpha[df.ofs]).copyTo(_alpha);