MCPcopy Create free account
hub / github.com/davisking/dlib / set_epsilon

Method set_epsilon

dlib/svm/structural_svm_problem.h:295–308  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293 }
294
295 void set_epsilon (
296 scalar_type eps_
297 )
298 {
299 // make sure requires clause is not broken
300 DLIB_ASSERT(eps_ > 0,
301 "\t void structural_svm_problem::set_epsilon()"
302 << "\n\t eps_ must be greater than 0"
303 << "\n\t eps_: " << eps_
304 << "\n\t this: " << this
305 );
306
307 eps = eps_;
308 }
309
310 const scalar_type get_epsilon (
311 ) const { return eps; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected