yat  0.10.4pre
KernelPCA.h
1 #ifndef _theplu_yat_utility_kernel_pca_
2 #define _theplu_yat_utility_kernel_pca_
3 
4 // $Id: KernelPCA.h 2324 2010-09-21 21:19:25Z peter $
5 
6 /*
7  Copyright (C) 2010 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 classifier {
28  class MatrixLookup;
29 }
30 namespace utility {
31 
32  class Matrix;
33  class Vector;
34 
57  class KernelPCA
58  {
59  public:
68  explicit KernelPCA(const Matrix& kernel);
69 
73  virtual ~KernelPCA(void);
74 
80  const Vector& eigenvalues(void) const;
81 
87  const Matrix& projection(void) const;
88 
89  private:
90  class Impl;
91  Impl* impl_;
92 };
93 
94 }}} // of namespace utility, yat, and theplu
95 
96 #endif

Generated on Mon Nov 11 2013 09:41:44 for yat by  doxygen 1.8.1