| 346 | ) const { return C; } |
| 347 | |
| 348 | void set_c ( |
| 349 | scalar_type C_ |
| 350 | ) |
| 351 | { |
| 352 | // make sure requires clause is not broken |
| 353 | DLIB_ASSERT(C_ > 0, |
| 354 | "\t void structural_svm_problem::set_c()" |
| 355 | << "\n\t C_ must be greater than 0" |
| 356 | << "\n\t C_: " << C_ |
| 357 | << "\n\t this: " << this |
| 358 | ); |
| 359 | |
| 360 | C = C_; |
| 361 | } |
| 362 | |
| 363 | void add_nuclear_norm_regularizer ( |
| 364 | long first_dimension, |
nothing calls this directly
no outgoing calls
no test coverage detected