Lines Matching defs:data_t
159 Mat data_t = Mat::zeros(_data_i.rows, _data_i.cols+1, CV_32F);
160 vconcat(Mat(_data_i.rows, 1, _data_i.type(), Scalar::all(1.0)), data_t.col(0));
162 for (int i=1;i<data_t.cols;i++)
164 vconcat(_data_i.col(i-1), data_t.col(i));
178 Mat thetas = Mat::zeros(num_classes, data_t.cols, CV_32F);
179 Mat init_theta = Mat::zeros(data_t.cols, 1, 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);
207 new_theta = compute_batch_gradient(data_t, labels, init_theta);
209 new_theta = compute_mini_batch_gradient(data_t, labels, init_theta);
242 Mat data_t = Mat::zeros(data.rows, data.cols+1, CV_32F);
243 for (int i=0;i<data_t.cols;i++)
247 vconcat(Mat(data.rows, 1, data.type(), Scalar::all(1.0)), data_t.col(i));
250 vconcat(data.col(i-1), data_t.col(i));
266 Mat pred_m = Mat::zeros(data_t.rows, thetas.rows, data.type());
270 temp_pred = calc_sigmoid(data_t*thetas.t());
281 temp_pred = calc_sigmoid(data_t * thetas.row(i).t());