Changed the default stopping tolerance in the reduced2() function

from 1e-5 to 1e-3.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402436
This commit is contained in:
Davis King 2008-07-25 03:29:29 +00:00
parent f08537883b
commit ee01987581
2 changed files with 4 additions and 4 deletions

View File

@ -184,7 +184,7 @@ namespace dlib
reduced_decision_function_trainer2 (
const trainer_type& trainer_,
const long num_sv_,
const double eps_
const double eps_ = 1e-3
) :
trainer(trainer_),
num_sv(num_sv_),
@ -582,7 +582,7 @@ namespace dlib
const reduced_decision_function_trainer2<trainer_type> reduced2 (
const trainer_type& trainer,
const long num_sv,
double eps = 1e-5
double eps = 1e-3
)
{
COMPILE_TIME_ASSERT(is_matrix<typename trainer_type::sample_type>::value);

View File

@ -143,7 +143,7 @@ namespace dlib
reduced_decision_function_trainer2 (
const trainer_type& trainer,
const unsigned long num_sv,
double eps = 1e-5
double eps = 1e-3
);
/*!
requires
@ -196,7 +196,7 @@ namespace dlib
const reduced_decision_function_trainer2<trainer_type> reduced2 (
const trainer_type& trainer,
const unsigned long num_sv,
double eps = 1e-5
double eps = 1e-3
) { return reduced_decision_function_trainer2<trainer_type>(trainer, num_sv, eps); }
/*!
requires