Home
last modified time | relevance | path

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

/external/opencv3/modules/ml/src/
Dnbayes.cpp116 double* prod_data = productsum[cls].ptr<double>(); in train() local
119 for( c1 = 0; c1 < nvars; c1++, prod_data += nvars ) in train()
125 prod_data[c2] += train_vec[c2]*val1; in train()
157 double* prod_data = productsum[cls].ptr<double>(i); in train() local
166 … double cov_val = prod_data[j] - avg1 * sum2[j] - avg2 * s1val + avg1 * avg2 * _count; in train()
/external/opencv/ml/src/
Dmlnbayes.cpp201 double* prod_data = productsum[cls]->data.db; in train() local
204 for( c1 = 0; c1 < _var_count; c1++, prod_data += _var_count ) in train()
210 prod_data[c2] += train_vec[c2]*val1; in train()
240 double* prod_data = productsum[cls]->data.db + i*_var_count; in train() local
249 double cov_val = prod_data[j] - avg1 * sum2[j] - avg2 * s1val + avg1 * avg2 * count; in train()