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

Method set_c

dlib/svm/structural_svm_problem.h:348–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected