yat  0.21pre
KernelPCA.h
1 #ifndef _theplu_yat_utility_kernel_pca_
2 #define _theplu_yat_utility_kernel_pca_
3 
4 // $Id: KernelPCA.h 4207 2022-08-26 04:36:28Z peter $
5 
6 /*
7  Copyright (C) 2010, 2017, 2022 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 MatrixBase;
31  class Vector;
32 
55  class KernelPCA
56  {
57  public:
66  explicit KernelPCA(const MatrixBase& kernel);
67 
71  virtual ~KernelPCA(void);
72 
78  const Vector& eigenvalues(void) const;
79 
85  const Matrix& projection(void) const;
86 
87  private:
88  class Impl;
89  Impl* impl_;
90 };
91 
92 }}} // of namespace utility, yat, and theplu
93 
94 #endif
Definition: MatrixBase.h:54
The Department of Theoretical Physics namespace as we define it.
KernelPCA(const MatrixBase &kernel)
Principal Component Analysis on a Kernel Matrix.
Definition: KernelPCA.h:55
This is the yat interface to GSL vector.
Definition: Vector.h:59
virtual ~KernelPCA(void)
destructor
Interface to GSL matrix.
Definition: Matrix.h:104
const Matrix & projection(void) const
const Vector & eigenvalues(void) const
sorted eigenvalues.

Generated on Wed Jan 25 2023 03:34:29 for yat by  doxygen 1.8.14