\section{/var/www/mlpack.ratml.\+org/mlpack.org/\+\_\+src/mlpack-\/git/src/mlpack/core/kernels/pspectrum\+\_\+string\+\_\+kernel.hpp File Reference}
\label{pspectrum__string__kernel_8hpp}\index{/var/www/mlpack.\+ratml.\+org/mlpack.\+org/\+\_\+src/mlpack-\/git/src/mlpack/core/kernels/pspectrum\+\_\+string\+\_\+kernel.\+hpp@{/var/www/mlpack.\+ratml.\+org/mlpack.\+org/\+\_\+src/mlpack-\/git/src/mlpack/core/kernels/pspectrum\+\_\+string\+\_\+kernel.\+hpp}}
Include dependency graph for pspectrum\+\_\+string\+\_\+kernel.\+hpp\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{pspectrum__string__kernel_8hpp__incl}
\end{center}
\end{figure}
This graph shows which files directly or indirectly include this file\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{pspectrum__string__kernel_8hpp__dep__incl}
\end{center}
\end{figure}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \textbf{ P\+Spectrum\+String\+Kernel}
\begin{DoxyCompactList}\small\item\em The p-\/spectrum string kernel. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
 \textbf{ mlpack}
\begin{DoxyCompactList}\small\item\em Linear algebra utility functions, generally performed on matrices or vectors. \end{DoxyCompactList}\item 
 \textbf{ mlpack\+::kernel}
\begin{DoxyCompactList}\small\item\em Kernel functions. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\begin{DoxyAuthor}{Author}
Ryan Curtin
\end{DoxyAuthor}
Implementation of the p-\/spectrum string kernel, created for use with Fast\+M\+KS. Instead of passing a data matrix to Fast\+M\+KS which stores the kernels, pass a one-\/dimensional data matrix (data vector) to Fast\+M\+KS which stores indices of strings; then, the actual strings are given to the P\+Spectrum\+String\+Kernel at construction time, and the kernel knows to map the indices to actual strings.

mlpack is free software; you may redistribute it and/or modify it under the terms of the 3-\/clause B\+SD license. You should have received a copy of the 3-\/clause B\+SD license along with mlpack. If not, see {\tt http\+://www.\+opensource.\+org/licenses/\+B\+S\+D-\/3-\/\+Clause} for more information. 