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

Method set_lambda

dlib/svm/krr_trainer.h:138–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136 }
137
138 void set_lambda (
139 scalar_type lambda_
140 )
141 {
142 // make sure requires clause is not broken
143 DLIB_ASSERT(lambda_ >= 0,
144 "\t void krr_trainer::set_lambda()"
145 << "\n\t lambda must be greater than or equal to 0"
146 << "\n\t lambda_: " << lambda_
147 << "\n\t this: " << this
148 );
149
150 trainer.set_lambda(lambda_);
151 }
152
153 const scalar_type get_lambda (
154 ) const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected