Searched refs:var_all (Results 1 – 7 of 7) sorted by relevance
/external/opencv/ml/src/ |
D | mlnbayes.cpp | 45 var_count = var_all = 0; in CvNormalBayesClassifier() 91 var_count = var_all = 0; in CvNormalBayesClassifier() 143 var_all = _var_all; in train() 178 if( _var_count != var_count || _var_all != var_all || !(!_var_idx && !var_idx || in train() 300 if( !CV_IS_MAT(samples) || CV_MAT_TYPE(samples->type) != CV_32FC1 || samples->cols != var_all ) in predict() 410 CV_CALL( cvWriteInt( fs, "var_all", var_all )); in write() 470 CV_CALL( var_all = cvReadIntByName( fs, root_node, "var_all", -1 )); in read()
|
D | ml_inner_functions.cpp | 566 int var_all, int* response_type ) in cvPreprocessVarType() argument 580 int var_count = var_all; in cvPreprocessVarType() 913 int* var_all, int* sample_all ) in cvCheckTrainData() argument 917 if( var_all ) in cvCheckTrainData() 918 *var_all = 0; in cvCheckTrainData() 941 if( var_all ) in cvCheckTrainData() 942 *var_all = tflag == CV_ROW_SAMPLE ? train_data->cols : train_data->rows; in cvCheckTrainData() 971 int sample_all = 0, sample_count = 0, var_all = 0, var_count = 0; in cvPrepareTrainData() local 1006 CV_CALL( cvCheckTrainData( train_data, tflag, 0, &var_all, &sample_all )); in cvPrepareTrainData() 1011 CV_CALL( _var_idx = cvPreprocessIndexArray( var_idx, var_all )); in cvPrepareTrainData() [all …]
|
D | mlsvm.cpp | 1167 var_all = 0; in clear() 1552 false, &samples, &sample_count, &var_count, &var_all, in train() 1705 false, &samples, &sample_count, &var_count, &var_all, in train_auto() 1897 CV_CALL( cvPreparePredictData( sample, var_all, var_idx, in predict() 2052 cvWriteInt( fs, "var_all", var_all ); in write() 2220 var_all = cvReadIntByName( fs, svm_node, "var_all", -1 ); in read() 2221 var_count = cvReadIntByName( fs, svm_node, "var_count", var_all ); in read() 2224 if( sv_total <= 0 || var_all <= 0 || var_count <= 0 || var_count > var_all || class_count < 0 ) in read() 2235 if( var_count < var_all && (!var_idx || !CV_IS_MAT(var_idx) || var_idx->cols != var_count) ) in read() 2245 block_size = MAX( block_size, var_all*(int)sizeof(double)); in read() [all …]
|
D | _ml.h | 335 int* var_all, int* sample_all ); 340 int var_all, int* response_type );
|
D | mltree.cpp | 186 var_all = 0; in CV_IMPLEMENT_QSORT_EX() 192 CV_CALL( cvCheckTrainData( _train_data, _tflag, _missing_mask, &var_all, &sample_all )); in CV_IMPLEMENT_QSORT_EX() 209 var_count = var_all; in CV_IMPLEMENT_QSORT_EX() 220 CV_CALL( var_idx = cvPreprocessIndexArray( _var_idx, var_all )); in CV_IMPLEMENT_QSORT_EX() 234 CV_CALL( var_type0 = cvPreprocessVarType( _var_type, var_idx, var_all, &r_type )); in CV_IMPLEMENT_QSORT_EX() 928 sample_count = var_all = var_count = max_c_count = ord_var_count = cat_var_count = 0; in clear() 1011 cvWriteInt( fs, "var_all", var_all ); in write_params() 1075 var_all = cvReadIntByName( fs, node, "var_all" ); in read_params() 1076 var_count = cvReadIntByName( fs, node, "var_count", var_all ); in read_params() 1127 if( (unsigned)var_idx->data.i[vi] >= (unsigned)var_all ) in read_params() [all …]
|
D | mlboost.cpp | 1289 _sample->cols + _sample->rows - 1 != data->var_all && !raw_mode || in predict()
|
/external/opencv/ml/include/ |
D | ml.h | 257 int var_count, var_all; 525 int get_var_count() const { return var_idx ? var_idx->cols : var_all; } in get_var_count() 543 int var_all; variable 791 int sample_count, var_all, var_count, max_c_count; member
|