yat  0.15.2pre
KernelPCA.h
1 #ifndef _theplu_yat_utility_kernel_pca_
2 #define _theplu_yat_utility_kernel_pca_
3 
4 // $Id: KernelPCA.h 3661 2017-07-14 01:10:35Z peter $
5 
6 /*
7  Copyright (C) 2010, 2017 Peter Johansson
8 
9  This file is part of the yat library, http://dev.thep.lu.se/yat
10 
11  The yat library is free software; you can redistribute it and/or
12  modify it under the terms of the GNU General Public License as
13  published by the Free Software Foundation; either version 3 of the
14  License, or (at your option) any later version.
15 
16  The yat library is distributed in the hope that it will be useful,
17  but WITHOUT ANY WARRANTY; without even the implied warranty of
18  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19  General Public License for more details.
20 
21  You should have received a copy of the GNU General Public License
22  along with yat. If not, see <http://www.gnu.org/licenses/>.
23 */
24 
25 namespace theplu {
26 namespace yat {
27 namespace utility {
28 
29  class Matrix;
30  class Vector;
31 
54  class KernelPCA
55  {
56  public:
65  explicit KernelPCA(const Matrix& kernel);
66 
70  virtual ~KernelPCA(void);
71 
77  const Vector& eigenvalues(void) const;
78 
84  const Matrix& projection(void) const;
85 
86  private:
87  class Impl;
88  Impl* impl_;
89 };
90 
91 }}} // of namespace utility, yat, and theplu
92 
93 #endif
const Matrix & projection(void) const
The Department of Theoretical Physics namespace as we define it.
Principal Component Analysis on a Kernel Matrix.
Definition: KernelPCA.h:54
This is the yat interface to GSL vector.
Definition: Vector.h:59
virtual ~KernelPCA(void)
destructor
KernelPCA(const Matrix &kernel)
const Vector & eigenvalues(void) const
sorted eigenvalues.
Interface to GSL matrix.
Definition: Matrix.h:74

Generated on Fri Jul 13 2018 02:33:27 for yat by  doxygen 1.8.11