KernelHelpers.h File Reference

Go to the source code of this file.

Namespaces

 shark
 AbstractMultiObjectiveOptimizer.
 

Functions

template<class InputType , class M , class Device >
void shark::calculateRegularizedKernelMatrix (AbstractKernelFunction< InputType >const &kernel, Data< InputType > const &dataset, blas::matrix_expression< M, Device > &matrix, double regularizer=0)
 Calculates the regularized kernel gram matrix of the points stored inside a dataset. More...
 
template<class InputType , class M , class Device >
void shark::calculateMixedKernelMatrix (AbstractKernelFunction< InputType >const &kernel, Data< InputType > const &dataset1, Data< InputType > const &dataset2, blas::matrix_expression< M, Device > &matrix)
 Calculates the kernel gram matrix between two data sets. More...
 
template<class InputType >
RealMatrix shark::calculateRegularizedKernelMatrix (AbstractKernelFunction< InputType >const &kernel, Data< InputType > const &dataset, double regularizer=0)
 Calculates the regularized kernel gram matrix of the points stored inside a dataset. More...
 
template<class InputType >
RealMatrix shark::calculateMixedKernelMatrix (AbstractKernelFunction< InputType >const &kernel, Data< InputType > const &dataset1, Data< InputType > const &dataset2)
 Calculates the kernel gram matrix between two data sets. More...
 
template<class InputType , class WeightMatrix >
RealVector shark::calculateKernelMatrixParameterDerivative (AbstractKernelFunction< InputType > const &kernel, Data< InputType > const &dataset, WeightMatrix const &weights)
 Efficiently calculates the weighted derivative of a Kernel Gram Matrix w.r.t the Kernel Parameters. More...