priors 702 apps/traincascade/boost.cpp priors = cvCreateMat( 1, get_num_classes(), CV_64F ); priors 703 apps/traincascade/boost.cpp cvSet(priors, cvScalar(1)); priors 704 apps/traincascade/boost.cpp priors_mult = cvCloneMat( priors ); priors 640 apps/traincascade/old_ml.hpp const float* priors; priors 647 apps/traincascade/old_ml.hpp const float* priors ); priors 741 apps/traincascade/old_ml.hpp CvMat* priors; priors 912 apps/traincascade/old_ml.hpp int max_categories, const float* priors, bool calc_var_importance, priors 1054 apps/traincascade/old_ml.hpp int max_depth, bool use_surrogates, const float* priors ); priors 75 apps/traincascade/old_ml_boost.cpp priors = _priors; priors 1194 apps/traincascade/old_ml_boost.cpp p[0] = data->priors->data.db[0]*(c1 < n ? 1./(n - c1) : 0.); priors 1195 apps/traincascade/old_ml_boost.cpp p[1] = data->priors->data.db[1]*(c1 > 0 ? 1./c1 : 0.); priors 1936 apps/traincascade/old_ml_boost.cpp params.priors = data->params.priors; priors 53 apps/traincascade/old_ml_tree.cpp priors = priors_mult = counts = direction = split_buf = responses_copy = 0; priors 68 apps/traincascade/old_ml_tree.cpp priors = priors_mult = counts = direction = split_buf = responses_copy = 0; priors 190 apps/traincascade/old_ml_tree.cpp cvReleaseMat( &priors ); priors 197 apps/traincascade/old_ml_tree.cpp priors = data->priors; data->priors = 0; priors 645 apps/traincascade/old_ml_tree.cpp have_priors = is_classifier && params.priors; priors 650 apps/traincascade/old_ml_tree.cpp CV_CALL( priors = cvCreateMat( 1, m, CV_64F )); priors 653 apps/traincascade/old_ml_tree.cpp double val = have_priors ? params.priors[i] : 1.; priors 656 apps/traincascade/old_ml_tree.cpp priors->data.db[i] = val; priors 662 apps/traincascade/old_ml_tree.cpp cvScale( priors, priors, 1./sum ); priors 664 apps/traincascade/old_ml_tree.cpp CV_CALL( priors_mult = cvCloneMat( priors )); priors 1156 apps/traincascade/old_ml_tree.cpp cvReleaseMat( &priors ); priors 1326 apps/traincascade/old_ml_tree.cpp if( priors ) priors 1327 apps/traincascade/old_ml_tree.cpp cvWrite( fs, "priors", priors ); priors 1395 apps/traincascade/old_ml_tree.cpp priors = (CvMat*)cvReadByName( fs, tparams_node, "priors" ); priors 1396 apps/traincascade/old_ml_tree.cpp if( priors ) priors 1398 apps/traincascade/old_ml_tree.cpp if( !CV_IS_MAT(priors) ) priors 1400 apps/traincascade/old_ml_tree.cpp priors_mult = cvCloneMat( priors ); priors 1804 apps/traincascade/old_ml_tree.cpp const double* priors = data->priors_mult->data.db; priors 1812 apps/traincascade/old_ml_tree.cpp double w = priors[responses[i]]; priors 1850 apps/traincascade/old_ml_tree.cpp const double* priors = data->priors_mult->data.db; priors 1858 apps/traincascade/old_ml_tree.cpp double w = priors[responses[idx]]; priors 1866 apps/traincascade/old_ml_tree.cpp double w = priors[responses[idx]]; priors 2002 apps/traincascade/old_ml_tree.cpp const double* priors = data->have_priors ? data->priors_mult->data.db : 0; priors 2017 apps/traincascade/old_ml_tree.cpp if( !priors ) priors 2050 apps/traincascade/old_ml_tree.cpp double wv = rc[i]*priors[i]; priors 2059 apps/traincascade/old_ml_tree.cpp double p = priors[idx], p2 = p*p; priors 2223 apps/traincascade/old_ml_tree.cpp const double* priors = data->priors_mult->data.db; priors 2274 apps/traincascade/old_ml_tree.cpp sum += cjk[j*m + k]*priors[k]; priors 2313 apps/traincascade/old_ml_tree.cpp double p = priors[k], p2 = p*p; priors 2328 apps/traincascade/old_ml_tree.cpp double p = priors[k], p2 = p*p; priors 2600 apps/traincascade/old_ml_tree.cpp const double* priors = data->priors_mult->data.db; priors 2608 apps/traincascade/old_ml_tree.cpp double w = priors[responses[idx]]; priors 2623 apps/traincascade/old_ml_tree.cpp double w = priors[responses[idx]]; priors 2707 apps/traincascade/old_ml_tree.cpp const double* priors = data->priors_mult->data.db; priors 2714 apps/traincascade/old_ml_tree.cpp double w = priors[responses[i]]; priors 2784 apps/traincascade/old_ml_tree.cpp double* priors = data->priors_mult->data.db; priors 2818 apps/traincascade/old_ml_tree.cpp priors[k] = data->priors->data.db[k]*(n_k ? 1./n_k : 0.); priors 2819 apps/traincascade/old_ml_tree.cpp sum += priors[k]; priors 2823 apps/traincascade/old_ml_tree.cpp priors[k] *= sum; priors 2828 apps/traincascade/old_ml_tree.cpp double val = cls_count[k]*priors[k]; priors 2849 apps/traincascade/old_ml_tree.cpp double w = priors[k]; priors 1054 modules/ml/src/gbt.cpp params.priors = data->params.priors; priors 130 modules/ml/src/precomp.hpp const Mat& priors ); priors 174 modules/ml/src/precomp.hpp CV_IMPL_PROPERTY_S(cv::Mat, Priors, priors) priors 180 modules/ml/src/precomp.hpp Mat priors; priors 81 modules/ml/src/rtrees.cpp params.priors = Mat(); priors 61 modules/ml/src/tree.cpp priors = Mat(); priors 78 modules/ml/src/tree.cpp priors = _priors; priors 177 modules/ml/src/tree.cpp Mat class_weights = params.priors; priors 1545 modules/ml/src/tree.cpp if( !params.priors.empty() ) priors 1546 modules/ml/src/tree.cpp fs << "priors" << params.priors; priors 1714 modules/ml/src/tree.cpp tparams_node["priors"] >> params0.priors; priors 282 samples/cpp/letter_recog.cpp vector<double> priors(2); priors 283 samples/cpp/letter_recog.cpp priors[0] = 1; priors 284 samples/cpp/letter_recog.cpp priors[1] = 26; priors 293 samples/cpp/letter_recog.cpp model->setPriors(Mat(priors));