/external/opencv/ml/src/ |
D | mlrtrees.cpp | 107 int var_count; in find_best_split() local 111 var_count = active_var_mask->cols; in find_best_split() 113 CV_ASSERT( var_count == data->var_count ); in find_best_split() 115 for( vi = 0; vi < var_count; vi++ ) in find_best_split() 118 int i1 = cvRandInt(rng) % var_count; in find_best_split() 119 int i2 = cvRandInt(rng) % var_count; in find_best_split() 124 for( vi = 0; vi < data->var_count; vi++ ) in find_best_split() 241 int var_count = 0; in train() local 253 var_count = data->var_count; in train() 254 if( params.nactive_vars > var_count ) in train() [all …]
|
D | mlnbayes.cpp | 45 var_count = var_all = 0; in CvNormalBayesClassifier() 91 var_count = var_all = 0; in CvNormalBayesClassifier() 142 var_count = _var_count; in train() 161 CV_CALL(count[cls] = cvCreateMat( 1, var_count, CV_32SC1 )); in train() 162 CV_CALL(sum[cls] = cvCreateMat( 1, var_count, CV_64FC1 )); in train() 163 CV_CALL(productsum[cls] = cvCreateMat( var_count, var_count, CV_64FC1 )); in train() 164 CV_CALL(avg[cls] = cvCreateMat( 1, var_count, CV_64FC1 )); in train() 165 CV_CALL(inv_eigen_values[cls] = cvCreateMat( 1, var_count, CV_64FC1 )); in train() 166 CV_CALL(cov_rotate_mats[cls] = cvCreateMat( var_count, var_count, CV_64FC1 )); in train() 178 if( _var_count != var_count || _var_all != var_all || !(!_var_idx && !var_idx || in train() [all …]
|
D | mlsvm.cpp | 231 void CvSVMKernel::calc_non_rbf_base( int vcount, int var_count, const float** vecs, in calc_non_rbf_base() argument 240 for( k = 0; k <= var_count - 4; k += 4 ) in calc_non_rbf_base() 243 for( ; k < var_count; k++ ) in calc_non_rbf_base() 250 void CvSVMKernel::calc_linear( int vcount, int var_count, const float** vecs, in calc_linear() argument 253 calc_non_rbf_base( vcount, var_count, vecs, another, results, 1, 0 ); in calc_linear() 257 void CvSVMKernel::calc_poly( int vcount, int var_count, const float** vecs, in calc_poly() argument 261 calc_non_rbf_base( vcount, var_count, vecs, another, results, params->gamma, params->coef0 ); in calc_poly() 266 void CvSVMKernel::calc_sigmoid( int vcount, int var_count, const float** vecs, in calc_sigmoid() argument 270 calc_non_rbf_base( vcount, var_count, vecs, another, results, in calc_sigmoid() 285 void CvSVMKernel::calc_rbf( int vcount, int var_count, const float** vecs, in calc_rbf() argument [all …]
|
D | mltree.cpp | 154 if( !(data->var_count == var_count && in CV_IMPLEMENT_QSORT_EX() 209 var_count = var_all; in CV_IMPLEMENT_QSORT_EX() 222 var_count = var_idx->rows + var_idx->cols - 1; in CV_IMPLEMENT_QSORT_EX() 235 CV_CALL( var_type = cvCreateMat( 1, var_count+2, CV_32SC1 )); in CV_IMPLEMENT_QSORT_EX() 243 for( vi = 0; vi < var_count; vi++ ) in CV_IMPLEMENT_QSORT_EX() 254 var_type->data.i[var_count] = cat_var_count; in CV_IMPLEMENT_QSORT_EX() 255 var_type->data.i[var_count+1] = cat_var_count+1; in CV_IMPLEMENT_QSORT_EX() 279 nv_size = var_count*sizeof(int); in CV_IMPLEMENT_QSORT_EX() 306 for( vi = 0; vi <= var_count; vi++ ) in CV_IMPLEMENT_QSORT_EX() 315 if( vi < var_count ) // analyze i-th input variable in CV_IMPLEMENT_QSORT_EX() [all …]
|
D | mlknearest.cpp | 78 var_count = 0; in clear() 86 int CvKNearest::get_var_count() const { return var_count; } in get_var_count() 117 if( _update_base && _dims != var_count ) in train() 126 var_count = _dims; in train() 153 int i, j, count = end - start, k1 = 0, k2 = 0, d = var_count; in find_neighbors_direct() 324 _samples->cols != var_count ) in find_nearest()
|
D | ml_inner_functions.cpp | 580 int var_count = var_all; in cvPreprocessVarType() local 594 if( /*tm_size != var_count &&*/ tm_size != var_count + 1 ) in cvPreprocessVarType() 598 if( response_type && tm_size > var_count ) in cvPreprocessVarType() 599 *response_type = var_type->data.ptr[var_count*tm_step] != 0; in cvPreprocessVarType() 606 if( var_idx->rows + var_idx->cols - 1 > var_count ) in cvPreprocessVarType() 609 var_count = var_idx->rows + var_idx->cols - 1; in cvPreprocessVarType() 612 CV_CALL( out_var_type = cvCreateMat( 1, var_count, CV_8UC1 )); in cvPreprocessVarType() 616 for( i = 0; i < var_count; i++ ) in cvPreprocessVarType() 850 int i, j, var_count, sample_count, s_step, v_step; in cvGetTrainSamples() local 858 var_count = var_idx ? var_idx->cols + var_idx->rows - 1 : in cvGetTrainSamples() [all …]
|
D | mlboost.cpp | 1064 _sample = cvMat( 1, data->var_count, CV_32F ); in update_weights() 1065 _mask = cvMat( 1, data->var_count, CV_8U ); in update_weights() 1274 int i, weak_count, var_count; in predict() local 1290 _sample->cols + _sample->rows - 1 != data->var_count && raw_mode ) in predict() 1322 var_count = data->var_count; in predict() 1339 bufsize = var_count*(sizeof(float) + sizeof(uchar)); in predict() 1348 dst_mask = (uchar*)(buf + var_count); in predict() 1359 for( i = 0; i < var_count; i++ ) in predict() 1400 sample = cvMat( 1, var_count, CV_32F, dst_sample ); in predict() 1405 missing = cvMat( 1, var_count, CV_8UC1, dst_mask ); in predict() [all …]
|
/external/opencv/ml/include/ |
D | ml.h | 257 int var_count, var_all; 308 int max_k, var_count; variable 397 CvSVMSolver( int count, int var_count, const float** samples, schar* y, 401 virtual bool create( int count, int var_count, const float** samples, schar* y, 410 virtual bool solve_c_svc( int count, int var_count, const float** samples, schar* y, 413 virtual bool solve_nu_svc( int count, int var_count, const float** samples, schar* y, 416 virtual bool solve_one_class( int count, int var_count, const float** samples, 420 virtual bool solve_eps_svr( int count, int var_count, const float** samples, const float* y, 424 virtual bool solve_nu_svr( int count, int var_count, const float** samples, const float* y, 432 int var_count; variable [all …]
|
/external/v8/src/ast/ |
D | scopes.cc | 669 int var_count = vars.length(); in CollectStackAndContextLocals() local 670 for (int i = 0; i < var_count; i++) { in CollectStackAndContextLocals() 1435 int var_count = vars.length(); in AllocateNonParameterLocalsAndDeclaredGlobals() local 1436 for (int i = 0; i < var_count; i++) { in AllocateNonParameterLocalsAndDeclaredGlobals() 1441 for (int i = 0; i < var_count; i++) { in AllocateNonParameterLocalsAndDeclaredGlobals()
|
/external/v8/src/ |
D | code-stub-assembler.cc | 1590 Variable var_count(this, MachineRepresentation::kWord32); in NameDictionaryLookup() local 1592 Variable* loop_vars[] = {&var_count, &var_entry, var_name_index}; in NameDictionaryLookup() 1594 var_count.Bind(count); in NameDictionaryLookup() 1599 Node* count = var_count.value(); in NameDictionaryLookup() 1613 var_count.Bind(count); in NameDictionaryLookup() 1667 Variable var_count(this, MachineRepresentation::kWord32); in NumberDictionaryLookup() local 1668 Variable* loop_vars[] = {&var_count, var_entry}; in NumberDictionaryLookup() 1670 var_count.Bind(count); in NumberDictionaryLookup() 1675 Node* count = var_count.value(); in NumberDictionaryLookup() 1705 var_count.Bind(count); in NumberDictionaryLookup()
|