Commit ee019875 authored by Davis King's avatar Davis King

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
parent f0853788
......@@ -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);
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment