| 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 |
nothing calls this directly
no outgoing calls
no test coverage detected