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

Method assignment_function

dlib/svm/assignment_function.h:32–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 typedef label_type result_type;
31
32 assignment_function()
33 {
34 weights.set_size(fe.num_features());
35 weights = 0;
36 bias = 0;
37 force_assignment = false;
38 }
39
40 explicit assignment_function(
41 const matrix<double,0,1>& weights_,

Callers

nothing calls this directly

Calls 3

set_sizeMethod · 0.45
num_featuresMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected