Home | History | Annotate | Download | only in src

Lines Matching refs:labels

148         CV_Error( CV_StsBadArg, "data and labels must be a floating point matrix" );
153 Mat labels;
174 CV_Error( CV_StsBadArg, "number of rows in data and labels should be the equal" );
189 labels_l.convertTo(labels, CV_32F);
191 new_theta = compute_batch_gradient(data_t, labels, init_theta);
193 new_theta = compute_mini_batch_gradient(data_t, labels, init_theta);
205 new_local_labels.convertTo(labels, CV_32F);
207 new_theta = compute_batch_gradient(data_t, labels, init_theta);
209 new_theta = compute_mini_batch_gradient(data_t, labels, init_theta);
263 Mat labels;
288 labels.push_back(max_loc.x);
290 labels.convertTo(labels_c, CV_32S);
518 // this function creates two maps to map user defined labels to program friendly labels two ways.
520 Mat labels;
525 _labels_i.convertTo(labels, CV_32S);
527 for(int i = 0;i<labels.rows;i++)
529 this->forward_mapper[labels.at<int>(i)] += 1;
550 Mat labels;
551 _labels_i.convertTo(labels, CV_32S);
553 Mat new_labels = Mat::zeros(labels.rows, labels.cols, labels.type());
557 for(int i =0;i<labels.rows;i++)
559 new_labels.at<int>(i,0) = lmap.find(labels.at<int>(i,0))->second;