29 #ifndef SHARK_OBJECTIVEFUNCTIONS_KERNELBASISDISTANCE_H 30 #define SHARK_OBJECTIVEFUNCTIONS_KERNELBASISDISTANCE_H 66 {
return "KernelBasisDistance"; }
70 return m_numApproximatingVectors;
75 return m_numApproximatingVectors;
103 SHARK_EXPORT_SYMBOL void setupAndSolve(RealMatrix&
beta, RealVector
const& input, RealMatrix& Kz, RealMatrix& linear)
const;
106 SHARK_EXPORT_SYMBOL double errorOfSolution(RealMatrix
const& beta, RealMatrix
const& Kz, RealMatrix
const& linear)
const;
109 std::size_t m_numApproximatingVectors;