]> granicus.if.org Git - liblinear/commitdiff
Add log message to matlab/train.c in function do_find_parameters
authorjohncreed <hsiajuiyang5174@gmail.com>
Thu, 27 Jun 2019 04:01:00 +0000 (12:01 +0800)
committerjohncreed <hsiajuiyang5174@gmail.com>
Thu, 27 Jun 2019 04:01:00 +0000 (12:01 +0800)
matlab/train.c

index 842bd323b0ee2d68e11656718d9401adb995747d..1771aee076f543c7767655ae9d4d1dffea444c8f 100644 (file)
@@ -92,6 +92,8 @@ void do_find_parameters(double *best_C, double *best_p, double *best_score)
                start_p = param.p;
        else
                start_p = -1.0;
+
+       mexPrintf("Doing parameter search with %d-fold cross validation.\n", nr_fold);
        find_parameters(&prob, &param, nr_fold, start_C, start_p, best_C, best_p, best_score);
 
        if(param.solver_type == L2R_LR || param.solver_type == L2R_L2LOSS_SVC)