Lines Matching refs:avg
51 avg = 0; in CvNormalBayesClassifier()
68 cvReleaseMat( &avg[cls] ); in clear()
97 avg = 0; in CvNormalBayesClassifier()
153 avg = productsum + nclasses; in train()
154 inv_eigen_values= avg + nclasses; in train()
164 CV_CALL(avg[cls] = cvCreateMat( 1, var_count, CV_64FC1 )); in train()
170 CV_CALL(cvZero( avg[cls] )); in train()
221 double* avg_data = avg[cls]->data.db; in train()
233 avg_data = avg[cls]->data.db; in train()
238 double* avg2_data = avg[cls]->data.db; in train()
298 _var_count = avg[0]->cols; in predict()
345 const double* avg_data = avg[i]->data.db; in predict()
433 CV_CALL( cvWrite( fs, NULL, avg[i] )); in write()
488 avg = productsum + nclasses; in read()
489 inv_eigen_values = avg + nclasses; in read()
532 CV_CALL( avg[i] = (CvMat*)cvRead( fs, (CvFileNode*)reader.ptr )); in read()