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

Method set_lambda

dlib/svm/rr_trainer.h:81–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79 }
80
81 void set_lambda (
82 scalar_type lambda_
83 )
84 {
85 // make sure requires clause is not broken
86 DLIB_ASSERT(lambda_ >= 0,
87 "\t void rr_trainer::set_lambda()"
88 << "\n\t lambda must be greater than or equal to 0"
89 << "\n\t lambda: " << lambda
90 << "\n\t this: " << this
91 );
92
93 lambda = lambda_;
94 }
95
96 const scalar_type get_lambda (
97 ) const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected