MCPcopy Create free account
hub / github.com/davisking/dlib / operator()

Method operator()

dlib/svm/function_abstract.h:79–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 !*/
78
79 result_type operator() (
80 const sample_type& x
81 ) const
82 /*!
83 ensures
84 - evaluates this sample according to the decision
85 function contained in this object.
86 !*/
87 {
88 result_type temp = 0;
89 for (long i = 0; i < alpha.nr(); ++i)
90 temp += alpha(i) * kernel_function(x,basis_vectors(i));
91
92 return temp - b;
93 }
94 };
95
96 template <

Callers

nothing calls this directly

Calls 1

nrMethod · 0.45

Tested by

no test coverage detected