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

Method decision_function

dlib/svm/function_abstract.h:67–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65 !*/
66
67 decision_function (
68 const scalar_vector_type& alpha_,
69 const scalar_type& b_,
70 const K& kernel_function_,
71 const sample_vector_type& basis_vectors_
72 ) : alpha(alpha_), b(b_), kernel_function(kernel_function_), basis_vectors(basis_vectors_) {}
73 /*!
74 ensures
75 - populates the decision function with the given basis vectors, weights(i.e. alphas),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected