mlpack
2.0.1
|
Go to the source code of this file.
Classes | |
class | mlpack::kernel::PSpectrumStringKernel |
The p-spectrum string kernel. More... | |
Namespaces | |
mlpack | |
Linear algebra utility functions, generally performed on matrices or vectors. | |
mlpack::kernel | |
Kernel functions. | |
Implementation of the p-spectrum string kernel, created for use with FastMKS. Instead of passing a data matrix to FastMKS which stores the kernels, pass a one-dimensional data matrix (data vector) to FastMKS which stores indices of strings; then, the actual strings are given to the PSpectrumStringKernel at construction time, and the kernel knows to map the indices to actual strings.
This file is part of mlpack 2.0.1.
mlpack is free software; you may redstribute it and/or modify it under the terms of the 3-clause BSD license. You should have received a copy of the 3-clause BSD license along with mlpack. If not, see http://www.opensource.org/licenses/BSD-3-Clause for more information.
Definition in file pspectrum_string_kernel.hpp.