mirror of https://github.com/davisking/dlib.git
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:
parent
4e9dd6dda9
commit
85db4e4ebb
|
@ -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>(
|
||||||
|
|
Loading…
Reference in New Issue