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

Method operator()

dlib/svm/kernel.h:266–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

264 const scalar_type coef;
265
266 scalar_type operator() (
267 const sample_type& a,
268 const sample_type& b
269 ) const
270 {
271 return std::tanh(gamma*(trans(a)*b) + coef);
272 }
273
274 sigmoid_kernel& operator= (
275 const sigmoid_kernel& k

Callers

nothing calls this directly

Calls 2

tanhFunction · 0.50
transFunction · 0.50

Tested by

no test coverage detected