Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

TermCriteria in LogisticRegression

TermCriteria is not stored in the model file But, when using miniBatch, its member maxCount is used in a loop

Mat LogisticRegressionImpl::mini_batch_gradient_descent(const Mat& _data, const Mat& _labels, const Mat& _init_theta)

... for(int i = 0;i<this->params.term_crit.maxCount;i++)

(instead, the loop in batch_gradient_descent uses the variable >params.num_iters)

isn't this an error?