\section{Nystroem\+Method$<$ Kernel\+Type, Point\+Selection\+Policy $>$ Class Template Reference}
\label{classmlpack_1_1kernel_1_1NystroemMethod}\index{Nystroem\+Method$<$ Kernel\+Type, Point\+Selection\+Policy $>$@{Nystroem\+Method$<$ Kernel\+Type, Point\+Selection\+Policy $>$}}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\textbf{ Nystroem\+Method} (const arma\+::mat \&data, Kernel\+Type \&kernel, const size\+\_\+t rank)
\begin{DoxyCompactList}\small\item\em Create the \doxyref{Nystroem\+Method}{p.}{classmlpack_1_1kernel_1_1NystroemMethod} object. \end{DoxyCompactList}\item 
void \textbf{ Apply} (arma\+::mat \&output)
\begin{DoxyCompactList}\small\item\em Apply the low-\/rank factorization to obtain an output matrix G such that K\textquotesingle{} = G $\ast$ G$^\wedge$T. \end{DoxyCompactList}\item 
void \textbf{ Get\+Kernel\+Matrix} (const arma\+::mat $\ast$data, arma\+::mat \&mini\+Kernel, arma\+::mat \&semi\+Kernel)
\begin{DoxyCompactList}\small\item\em Construct the kernel matrix with matrix that contains the selected points. \end{DoxyCompactList}\item 
void \textbf{ Get\+Kernel\+Matrix} (const arma\+::\+Col$<$ size\+\_\+t $>$ \&selected\+Points, arma\+::mat \&mini\+Kernel, arma\+::mat \&semi\+Kernel)
\begin{DoxyCompactList}\small\item\em Construct the kernel matrix with the selected points. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename Kernel\+Type, typename Point\+Selection\+Policy = K\+Means\+Selection$<$$>$$>$\newline
class mlpack\+::kernel\+::\+Nystroem\+Method$<$ Kernel\+Type, Point\+Selection\+Policy $>$}



Definition at line 28 of file nystroem\+\_\+method.\+hpp.



\subsection{Constructor \& Destructor Documentation}
\mbox{\label{classmlpack_1_1kernel_1_1NystroemMethod_a84335e83a3a94b41ca5e276a21ea6784}} 
\index{mlpack\+::kernel\+::\+Nystroem\+Method@{mlpack\+::kernel\+::\+Nystroem\+Method}!Nystroem\+Method@{Nystroem\+Method}}
\index{Nystroem\+Method@{Nystroem\+Method}!mlpack\+::kernel\+::\+Nystroem\+Method@{mlpack\+::kernel\+::\+Nystroem\+Method}}
\subsubsection{Nystroem\+Method()}
{\footnotesize\ttfamily \textbf{ Nystroem\+Method} (\begin{DoxyParamCaption}\item[{const arma\+::mat \&}]{data,  }\item[{Kernel\+Type \&}]{kernel,  }\item[{const size\+\_\+t}]{rank }\end{DoxyParamCaption})}



Create the \doxyref{Nystroem\+Method}{p.}{classmlpack_1_1kernel_1_1NystroemMethod} object. 

The constructor here does not really do anything.


\begin{DoxyParams}{Parameters}
{\em data} & Data matrix. \\
\hline
{\em kernel} & Kernel to be used for computation. \\
\hline
{\em rank} & Rank to be used for matrix approximation. \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\mbox{\label{classmlpack_1_1kernel_1_1NystroemMethod_a8e61c6b39dcbd91fc23c9e6bce9a65c5}} 
\index{mlpack\+::kernel\+::\+Nystroem\+Method@{mlpack\+::kernel\+::\+Nystroem\+Method}!Apply@{Apply}}
\index{Apply@{Apply}!mlpack\+::kernel\+::\+Nystroem\+Method@{mlpack\+::kernel\+::\+Nystroem\+Method}}
\subsubsection{Apply()}
{\footnotesize\ttfamily void Apply (\begin{DoxyParamCaption}\item[{arma\+::mat \&}]{output }\end{DoxyParamCaption})}



Apply the low-\/rank factorization to obtain an output matrix G such that K\textquotesingle{} = G $\ast$ G$^\wedge$T. 


\begin{DoxyParams}{Parameters}
{\em output} & Matrix to store kernel approximation into. \\
\hline
\end{DoxyParams}


Referenced by Nystroem\+Kernel\+Rule$<$ Kernel\+Type, Point\+Selection\+Policy $>$\+::\+Apply\+Kernel\+Matrix().

\mbox{\label{classmlpack_1_1kernel_1_1NystroemMethod_a7d74d204f1b1b161872429ca66ff6dc2}} 
\index{mlpack\+::kernel\+::\+Nystroem\+Method@{mlpack\+::kernel\+::\+Nystroem\+Method}!Get\+Kernel\+Matrix@{Get\+Kernel\+Matrix}}
\index{Get\+Kernel\+Matrix@{Get\+Kernel\+Matrix}!mlpack\+::kernel\+::\+Nystroem\+Method@{mlpack\+::kernel\+::\+Nystroem\+Method}}
\subsubsection{Get\+Kernel\+Matrix()\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Get\+Kernel\+Matrix (\begin{DoxyParamCaption}\item[{const arma\+::mat $\ast$}]{data,  }\item[{arma\+::mat \&}]{mini\+Kernel,  }\item[{arma\+::mat \&}]{semi\+Kernel }\end{DoxyParamCaption})}



Construct the kernel matrix with matrix that contains the selected points. 


\begin{DoxyParams}{Parameters}
{\em data} & Data matrix pointer. \\
\hline
{\em mini\+Kernel} & to store the constructed mini-\/kernel matrix in. \\
\hline
{\em mini\+Kernel} & to store the constructed semi-\/kernel matrix in. \\
\hline
\end{DoxyParams}
\mbox{\label{classmlpack_1_1kernel_1_1NystroemMethod_a13739d7184b9df54f17dc16a07086c5e}} 
\index{mlpack\+::kernel\+::\+Nystroem\+Method@{mlpack\+::kernel\+::\+Nystroem\+Method}!Get\+Kernel\+Matrix@{Get\+Kernel\+Matrix}}
\index{Get\+Kernel\+Matrix@{Get\+Kernel\+Matrix}!mlpack\+::kernel\+::\+Nystroem\+Method@{mlpack\+::kernel\+::\+Nystroem\+Method}}
\subsubsection{Get\+Kernel\+Matrix()\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Get\+Kernel\+Matrix (\begin{DoxyParamCaption}\item[{const arma\+::\+Col$<$ size\+\_\+t $>$ \&}]{selected\+Points,  }\item[{arma\+::mat \&}]{mini\+Kernel,  }\item[{arma\+::mat \&}]{semi\+Kernel }\end{DoxyParamCaption})}



Construct the kernel matrix with the selected points. 


\begin{DoxyParams}{Parameters}
{\em points} & Indices of selected points. \\
\hline
{\em mini\+Kernel} & to store the constructed mini-\/kernel matrix in. \\
\hline
{\em mini\+Kernel} & to store the constructed semi-\/kernel matrix in. \\
\hline
\end{DoxyParams}


The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
/var/www/mlpack.\+ratml.\+org/mlpack.\+org/\+\_\+src/mlpack-\/3.\+3.\+1/src/mlpack/methods/nystroem\+\_\+method/\textbf{ nystroem\+\_\+method.\+hpp}\end{DoxyCompactItemize}
