16 #ifndef MLPACK_CORE_KERNELS_PSPECTRUM_STRING_KERNEL_HPP
17 #define MLPACK_CORE_KERNELS_PSPECTRUM_STRING_KERNEL_HPP
89 template<
typename VecType>
90 double Evaluate(
const VecType& a,
const VecType& b)
const;
93 const std::vector<std::vector<std::map<std::string, int> > >&
Counts()
const
96 std::vector<std::vector<std::map<std::string, int> > >&
Counts()
100 size_t P()
const {
return p; }
102 size_t&
P() {
return p; }
107 std::vector<std::vector<std::map<std::string, int> > > counts;
117 #include "pspectrum_string_kernel_impl.hpp"