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

Method get_decision_function

dlib/svm/krls.h:231–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229 ) const { return dictionary.size(); }
230
231 decision_function<kernel_type> get_decision_function (
232 ) const
233 {
234 return decision_function<kernel_type>(
235 mat(alpha),
236 -sum(mat(alpha))*tau,
237 kernel,
238 mat(dictionary)
239 );
240 }
241
242 friend void serialize(const krls& item, std::ostream& out)
243 {

Callers

nothing calls this directly

Calls 2

matFunction · 0.70
sumFunction · 0.50

Tested by

no test coverage detected