mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
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:
parent
f08537883b
commit
ee01987581
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user