Lines Matching refs:nclasses

122     int cls, nsamples = 0, _var_count = 0, _var_all = 0, nclasses = 0;  in train()  local
145 nclasses = cls_labels->cols; in train()
146 data_size = nclasses*6*mat_size; in train()
151 sum = count + nclasses; in train()
152 productsum = sum + nclasses; in train()
153 avg = productsum + nclasses; in train()
154 inv_eigen_values= avg + nclasses; in train()
155 cov_rotate_mats = inv_eigen_values + nclasses; in train()
157 CV_CALL( c = cvCreateMat( 1, nclasses, CV_64FC1 )); in train()
159 for( cls = 0; cls < nclasses; cls++ ) in train()
189 nclasses = cls_labels->cols; in train()
215 for( cls = 0; cls < nclasses; cls++ ) in train()
291 int i, j, k, cls = -1, _var_count, nclasses; in predict() local
297 nclasses = cls_labels->cols; in predict()
325 size = sizeof(double) * (nclasses + var_count); in predict()
340 for( i = 0; i < nclasses; i++ ) in predict()
403 int nclasses, i; in write() local
405 nclasses = cls_labels->cols; in write()
417 for( i = 0; i < nclasses; i++ ) in write()
422 for( i = 0; i < nclasses; i++ ) in write()
427 for( i = 0; i < nclasses; i++ ) in write()
432 for( i = 0; i < nclasses; i++ ) in write()
437 for( i = 0; i < nclasses; i++ ) in write()
442 for( i = 0; i < nclasses; i++ ) in write()
461 int nclasses, i; in read() local
480 nclasses = cls_labels->cols; in read()
482 data_size = nclasses*6*sizeof(CvMat*); in read()
486 sum = count + nclasses; in read()
487 productsum = sum + nclasses; in read()
488 avg = productsum + nclasses; in read()
489 inv_eigen_values = avg + nclasses; in read()
490 cov_rotate_mats = inv_eigen_values + nclasses; in read()
494 if( !CV_NODE_IS_SEQ(node->tag) || seq->total != nclasses) in read()
497 for( i = 0; i < nclasses; i++ ) in read()
505 if( !CV_NODE_IS_SEQ(node->tag) || seq->total != nclasses) in read()
508 for( i = 0; i < nclasses; i++ ) in read()
516 if( !CV_NODE_IS_SEQ(node->tag) || seq->total != nclasses) in read()
519 for( i = 0; i < nclasses; i++ ) in read()
527 if( !CV_NODE_IS_SEQ(node->tag) || seq->total != nclasses) in read()
530 for( i = 0; i < nclasses; i++ ) in read()
538 if( !CV_NODE_IS_SEQ(node->tag) || seq->total != nclasses) in read()
541 for( i = 0; i < nclasses; i++ ) in read()
549 if( !CV_NODE_IS_SEQ(node->tag) || seq->total != nclasses) in read()
552 for( i = 0; i < nclasses; i++ ) in read()