From 85db4e4ebb817614112414fbd8950ee8a5dc6891 Mon Sep 17 00:00:00 2001 From: Davis King Date: Sat, 5 Nov 2011 12:15:36 -0400 Subject: [PATCH] The last dlib release added a max_iterations parameter to the svm_c_linear_trainer and svm_c_ekm_trainer objects. However, there was a bug which made them only ever do at most 16 iterations, which is too few to solve many problems. This has been fixed. --- dlib/svm/svm_c_linear_trainer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlib/svm/svm_c_linear_trainer.h b/dlib/svm/svm_c_linear_trainer.h index a546ffc0f..81c0078eb 100644 --- a/dlib/svm/svm_c_linear_trainer.h +++ b/dlib/svm/svm_c_linear_trainer.h @@ -315,7 +315,7 @@ namespace dlib const in_scalar_vector_type& labels, const bool be_verbose, const scalar_type eps, - const unsigned char max_iterations + const unsigned long max_iterations ) { return oca_problem_c_svm(