Home
last modified time | relevance | path

Searched refs:class_labels (Results 1 – 7 of 7) sorted by relevance

/external/opencv3/modules/ml/src/
Dgbt.cpp50 class_labels = 0;
110 cvReleaseMat( &class_labels );
133 class_labels = 0;
240 class_labels = cvCreateMat(1, class_count, CV_32S);
241 class_labels->data.i[0] = int(orig_response->data.fl[0]);
246 while ((int(orig_response->data.fl[i]) - class_labels->data.i[k]) && (k<j))
250 class_labels->data.i[k] = int(orig_response->data.fl[i]);
510 while (class_labels->data.i[ensemble_label] - orig_label)
883 int orig_class_label = class_labels->data.i[class_label];
999 int orig_class_label = class_labels->data.i[class_label];
[all …]
Dsvm.cpp1408 int class_count = (int)class_labels.total(); in do_train()
1611 class_labels = data->getClassLabels(); in train()
1678 int class_count = (int)class_labels.total(); in trainAuto()
1683 class_labels = data->getClassLabels(); in trainAuto()
1684 class_count = (int)class_labels.total(); in trainAuto()
1691 Mat(temp_class_labels).copyTo(class_labels); in trainAuto()
1841 …int class_count = !svm->class_labels.empty() ? (int)svm->class_labels.total() : svmType == ONE_CLA… in operator ()()
1897 (float)sum : (float)(svm->class_labels.at<int>(k)); in operator ()()
2024 int class_count = !class_labels.empty() ? (int)class_labels.total() : in write()
2037 if( !class_labels.empty() ) in write()
[all …]
/external/opencv/ml/src/
Dmlsvm.cpp1138 class_labels = 0; in CvSVM()
1159 cvReleaseMat( &class_labels ); in clear()
1177 class_labels = 0; in CvSVM()
1360 int class_count = class_labels->cols; in do_train()
1553 &responses, &class_labels, &var_idx )); in train()
1706 &responses, &class_labels, &var_idx )); in train_auto()
1894 class_count = class_labels ? class_labels->cols : in predict()
1954 result = (float)(class_labels->data.i[k]); in predict()
2055 class_count = class_labels ? class_labels->cols : in write()
2062 if( class_labels ) in write()
[all …]
Dmlboost.cpp981 const int* class_labels = data->get_class_labels(data->data_root); in update_weights() local
1006 c1 += class_labels[i]; in update_weights()
1016 orig_response->data.i[i] = class_labels[i]*2 - 1; in update_weights()
1021 weights->data.db[i] = w0*p[class_labels[i]]; in update_weights()
/external/opencv3/apps/traincascade/
Dold_ml_boost.cpp1167 const int* class_labels = data->get_class_labels(data->data_root, class_labels_buf); in update_weights() local
1193 c1 += class_labels[i]; in update_weights()
1207 orig_response->data.i[i] = class_labels[i]*2 - 1; in update_weights()
1212 weights->data.db[i] = w0*p[class_labels[i]]; in update_weights()
1226 orig_response->data.i[i] = class_labels[i]*2 - 1; in update_weights()
1231 weights->data.db[i] = w0*p[class_labels[i]]; in update_weights()
Dold_ml.hpp547 CvMat* class_labels; member in CvSVM
1768 CvMat* class_labels; member in CvGBTrees
/external/opencv/ml/include/
Dml.h542 CvMat* class_labels; variable