26 #ifndef __MLPACK_CORE_KERNELS_PSPECTRUM_STRING_KERNEL_HPP
27 #define __MLPACK_CORE_KERNELS_PSPECTRUM_STRING_KERNEL_HPP
98 template<
typename VecType>
99 double Evaluate(
const VecType& a,
const VecType& b)
const;
102 const std::vector<std::vector<std::map<std::string, int> > >&
Counts()
const
105 std::vector<std::vector<std::map<std::string, int> > >&
Counts()
109 size_t P()
const {
return p; }
111 size_t&
P() {
return p; }
115 const std::vector<std::vector<std::string> >&
datasets;
119 std::vector<std::vector<std::map<std::string, int> > >
counts;
129 #include "pspectrum_string_kernel_impl.hpp"