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.
This commit is contained in:
Davis King 2011-11-05 12:15:36 -04:00
parent 4e9dd6dda9
commit 85db4e4ebb
1 changed files with 1 additions and 1 deletions

View File

@ -315,7 +315,7 @@ namespace dlib
const in_scalar_vector_type& labels, const in_scalar_vector_type& labels,
const bool be_verbose, const bool be_verbose,
const scalar_type eps, const scalar_type eps,
const unsigned char max_iterations const unsigned long max_iterations
) )
{ {
return oca_problem_c_svm<matrix_type, in_sample_vector_type, in_scalar_vector_type>( return oca_problem_c_svm<matrix_type, in_sample_vector_type, in_scalar_vector_type>(