\section{Nystroem\+Kernel\+Rule$<$ Kernel\+Type, Point\+Selection\+Policy $>$ Class Template Reference}
\label{classmlpack_1_1kpca_1_1NystroemKernelRule}\index{Nystroem\+Kernel\+Rule$<$ Kernel\+Type, Point\+Selection\+Policy $>$@{Nystroem\+Kernel\+Rule$<$ Kernel\+Type, Point\+Selection\+Policy $>$}}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static void \textbf{ Apply\+Kernel\+Matrix} (const arma\+::mat \&data, arma\+::mat \&transformed\+Data, arma\+::vec \&eigval, arma\+::mat \&eigvec, const size\+\_\+t rank, Kernel\+Type kernel=Kernel\+Type())
\begin{DoxyCompactList}\small\item\em Construct the kernel matrix approximation using the nystroem method. \end{DoxyCompactList}\end{DoxyCompactItemize}


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



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



\subsection{Member Function Documentation}
\mbox{\label{classmlpack_1_1kpca_1_1NystroemKernelRule_a9043568ae7d441d997df28a9963c2c39}} 
\index{mlpack\+::kpca\+::\+Nystroem\+Kernel\+Rule@{mlpack\+::kpca\+::\+Nystroem\+Kernel\+Rule}!Apply\+Kernel\+Matrix@{Apply\+Kernel\+Matrix}}
\index{Apply\+Kernel\+Matrix@{Apply\+Kernel\+Matrix}!mlpack\+::kpca\+::\+Nystroem\+Kernel\+Rule@{mlpack\+::kpca\+::\+Nystroem\+Kernel\+Rule}}
\subsubsection{Apply\+Kernel\+Matrix()}
{\footnotesize\ttfamily static void Apply\+Kernel\+Matrix (\begin{DoxyParamCaption}\item[{const arma\+::mat \&}]{data,  }\item[{arma\+::mat \&}]{transformed\+Data,  }\item[{arma\+::vec \&}]{eigval,  }\item[{arma\+::mat \&}]{eigvec,  }\item[{const size\+\_\+t}]{rank,  }\item[{Kernel\+Type}]{kernel = {\ttfamily KernelType()} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Construct the kernel matrix approximation using the nystroem method. 


\begin{DoxyParams}{Parameters}
{\em data} & Input data points. \\
\hline
{\em transformed\+Data} & Matrix to output results into. \\
\hline
{\em eigval} & K\+P\+CA eigenvalues will be written to this vector. \\
\hline
{\em eigvec} & K\+P\+CA eigenvectors will be written to this matrix. \\
\hline
{\em rank} & Rank to be used for matrix approximation. \\
\hline
{\em kernel} & Kernel to be used for computation. \\
\hline
\end{DoxyParams}


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



References Nystroem\+Method$<$ Kernel\+Type, Point\+Selection\+Policy $>$\+::\+Apply(), mlpack\+::math\+::\+Center(), and Log\+::\+Fatal.



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