Searched refs:var_types (Results 1 – 6 of 6) sorted by relevance
/external/opencv3/apps/traincascade/ |
D | old_ml_data.cpp | 72 values = missing = var_types = var_idx_mask = response_out = var_idx_out = var_types_out = 0; in CvMLData() 105 cvReleaseMat( &var_types ); in clear() 216 var_types = cvCreateMat( 1, cols_count, CV_8U ); in read_csv() 217 cvZero( var_types ); in read_csv() 218 var_types_ptr = var_types->data.ptr; in read_csv() 413 assert( var_types ); in change_var_type() 414 if ( var_types->data.ptr[var_idx] == CV_VAR_CATEGORICAL && type == CV_VAR_ORDERED) in change_var_type() 416 var_types->data.ptr[var_idx] = (uchar)type; in change_var_type() 435 assert( var_types ); in set_var_types() 444 cvSet( var_types, cvScalarAll(CV_VAR_CATEGORICAL) ); in set_var_types() [all …]
|
D | old_ml_boost.cpp | 1109 const CvMat* var_types = _data->get_var_types(); in train() local 1114 train_sidx, var_types, missing, _params, update ) ); in train() 1837 const CvMat* var_types = _data->get_var_types(); in calc_error() local 1841 bool is_classifier = var_types->data.ptr[var_types->cols-1] == CV_VAR_CATEGORICAL; in calc_error()
|
D | old_ml_tree.cpp | 1618 const CvMat* var_types = _data->get_var_types(); in train() local 1623 train_sidx, var_types, missing, _params ) ); in train() 3324 const CvMat* var_types = _data->get_var_types(); in calc_error() local 3328 bool is_classifier = var_types->data.ptr[var_types->cols-1] == CV_VAR_CATEGORICAL; in calc_error()
|
D | old_ml.hpp | 2009 CvMat* var_types; member in CvMLData
|
/external/opencv3/samples/python2/ |
D | letter_recog.py | 65 var_types = np.array([cv2.CV_VAR_NUMERICAL] * var_n + [cv2.CV_VAR_CATEGORICAL], np.uint8) 68 … self.model.train(samples, cv2.CV_ROW_SAMPLE, responses, varType = var_types, params = params) 94 …var_types = np.array([cv2.CV_VAR_NUMERICAL] * var_n + [cv2.CV_VAR_CATEGORICAL, cv2.CV_VAR_CATEGORI… 97 …self.model.train(new_samples, cv2.CV_ROW_SAMPLE, new_responses, varType = var_types, params=params)
|
/external/opencv3/doc/tutorials/introduction/transition_guide/ |
D | transition_guide.markdown | 129 Mat var_types( 1, trainSamples.cols + 1, CV_8UC1, Scalar(CV_VAR_ORDERED) ); 130 var_types.at<uchar>( trainSamples.cols ) = CV_VAR_CATEGORICAL; 138 boost.train( trainSamples, CV_ROW_SAMPLE, trainClasses, Mat(), Mat(), var_types, Mat(), params );
|