Mlpack::metric::ipmetric kerneltype -
IPMetric ()
Create the IPMetric without an instantiated kernel. IPMetric (KernelType &kernel)
Create the IPMetric with an instantiated kernel. ~IPMetric ()
Destroy the IPMetric object. template<typename Vec1Type , typename Vec2Type > double Evaluate (const Vec1Type &a, const Vec2Type &b)
Evaluate the metric. const KernelType & Kernel () const
Get the kernel. KernelType & Kernel ()
Modify the kernel. std::string ToString () const
Returns a string representation of this object.
KernelType & kernel
The reference to the kernel that is being used. KernelType * localKernel
The locally stored kernel, if it is necessary.
Definition at line 30 of file ip_metric.hpp.
Create the IPMetric without an instantiated kernel.
Create the IPMetric with an instantiated kernel.
Destroy the IPMetric object.
Evaluate the metric.
Get the kernel.
Definition at line 49 of file ip_metric.hpp.
References mlpack::metric::IPMetric< KernelType >::kernel.
Modify the kernel.
Definition at line 51 of file ip_metric.hpp.
References mlpack::metric::IPMetric< KernelType >::kernel.
Returns a string representation of this object.
The reference to the kernel that is being used.
Definition at line 60 of file ip_metric.hpp.
Referenced by mlpack::metric::IPMetric< KernelType >::Kernel().
The locally stored kernel, if it is necessary.
Definition at line 58 of file ip_metric.hpp.
Generated automatically by Doxygen for MLPACK from the source code.