Home
last modified time | relevance | path

Searched refs:var_idx (Results 1 – 10 of 10) sorted by relevance

/external/opencv/ml/src/
Dmlnbayes.cpp46 var_idx = 0; in CvNormalBayesClassifier()
75 cvReleaseMat( &var_idx ); in clear()
92 var_idx = 0; in CvNormalBayesClassifier()
139 var_idx = __var_idx; in train()
178 if( _var_count != var_count || _var_all != var_all || !(!_var_idx && !var_idx || in train()
179 _var_idx && var_idx && cvNorm(_var_idx,var_idx,CV_C) < DBL_EPSILON) ) in train()
321 if( var_idx ) in predict()
322 vidx = var_idx->data.i; in predict()
412 if( var_idx ) in write()
413 CV_CALL( cvWrite( fs, "var_idx", var_idx )); in write()
[all …]
Dml_inner_functions.cpp565 cvPreprocessVarType( const CvMat* var_type, const CvMat* var_idx, in cvPreprocessVarType() argument
601 if( var_idx ) in cvPreprocessVarType()
603 if( !CV_IS_MAT(var_idx) || CV_MAT_TYPE(var_idx->type) != CV_32SC1 || in cvPreprocessVarType()
604 var_idx->rows != 1 && var_idx->cols != 1 || !CV_IS_MAT_CONT(var_idx->type) ) in cvPreprocessVarType()
606 if( var_idx->rows + var_idx->cols - 1 > var_count ) in cvPreprocessVarType()
608 map = var_idx->data.i; in cvPreprocessVarType()
609 var_count = var_idx->rows + var_idx->cols - 1; in cvPreprocessVarType()
840 const CvMat* var_idx, const CvMat* sample_idx, in cvGetTrainSamples() argument
858 var_count = var_idx ? var_idx->cols + var_idx->rows - 1 : in cvGetTrainSamples()
869 copy_data = tflag != CV_ROW_SAMPLE || var_idx || always_copy_data; in cvGetTrainSamples()
[all …]
Dmltree.cpp49 var_idx = var_type = cat_count = cat_ofs = cat_map = in CvDTreeTrainData()
63 var_idx = var_type = cat_count = cat_ofs = cat_map = in CvDTreeTrainData()
220 CV_CALL( var_idx = cvPreprocessIndexArray( _var_idx, var_all )); in CV_IMPLEMENT_QSORT_EX()
221 vidx = var_idx->data.i; in CV_IMPLEMENT_QSORT_EX()
222 var_count = var_idx->rows + var_idx->cols - 1; in CV_IMPLEMENT_QSORT_EX()
234 CV_CALL( var_type0 = cvPreprocessVarType( _var_type, var_idx, var_all, &r_type )); in CV_IMPLEMENT_QSORT_EX()
848 split->var_idx = vi; in new_split_ord()
864 split->var_idx = vi; in new_split_cat()
918 cvReleaseMat( &var_idx ); in clear()
1043 if( var_idx ) in write_params()
[all …]
D_ml.h290 const CvMat* var_idx,
339 CvMat* cvPreprocessVarType( const CvMat* type_mask, const CvMat* var_idx,
350 const CvMat* var_idx, const CvMat* sample_idx,
Dmlsvm.cpp1141 var_idx = 0; in CvSVM()
1162 cvReleaseMat( &var_idx ); in clear()
1180 var_idx = 0; in CvSVM()
1553 &responses, &class_labels, &var_idx )); in train()
1706 &responses, &class_labels, &var_idx )); in train_auto()
1897 CV_CALL( cvPreparePredictData( sample, var_all, var_idx, in predict()
2069 if( var_idx ) in write()
2070 cvWrite( fs, "var_idx", var_idx ); in write()
2229 CV_CALL( var_idx = (CvMat*)cvReadByName( fs, svm_node, "comp_idx" )); in read()
2235 if( var_count < var_all && (!var_idx || !CV_IS_MAT(var_idx) || var_idx->cols != var_count) ) in read()
Dmlboost.cpp186 int i, n = node->sample_count, vi = node->split->var_idx; in calc_node_dir()
1328 if( !raw_mode && (data->cat_var_count > 0 || data->var_idx) ) in predict()
1336 const int* vidx = data->var_idx && !raw_mode ? data->var_idx->data.i : 0; in predict()
/external/lldb/source/Core/
DAddress.cpp708 for (size_t var_idx = 0; var_idx < num_variables; ++var_idx) in Dump() local
710 Variable *var = variable_list.GetVariableAtIndex (var_idx).get(); in Dump()
/external/opencv/ml/include/
Dml.h258 CvMat* var_idx; variable
525 int get_var_count() const { return var_idx ? var_idx->cols : var_all; } in get_var_count()
546 CvMat* var_idx; variable
654 int var_idx; member
808 CvMat* var_idx; member
/external/lldb/source/Target/
DStackFrame.cpp1179 const uint32_t var_idx = var_list->FindIndexForVariable (variable_sp.get()); in GetValueObjectForFrameVariable() local
1181 if (var_idx < num_variables) in GetValueObjectForFrameVariable()
1183 valobj_sp = m_variable_list_value_objects.GetValueObjectAtIndex (var_idx); in GetValueObjectForFrameVariable()
1189 m_variable_list_value_objects.SetValueObjectAtIndex (var_idx, valobj_sp); in GetValueObjectForFrameVariable()
/external/mesa3d/src/gallium/auxiliary/translate/
Dtranslate_sse.c1143 unsigned var_idx, in get_buffer_ptr() argument
1146 if (var_idx == ELEMENT_BUFFER_INSTANCE_ID) { in get_buffer_ptr()
1153 else if (!index_size || p->buffer_variant[var_idx].instance_divisor) { in get_buffer_ptr()
1157 get_offset(p, &p->buffer_variant[var_idx].ptr)); in get_buffer_ptr()
1165 const struct translate_buffer_variant *variant = &p->buffer_variant[var_idx]; in get_buffer_ptr()