SHOGUN  v2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
LaplacianEigenmaps.h
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or modify
3  * it under the terms of the GNU General Public License as published by
4  * the Free Software Foundation; either version 3 of the License, or
5  * (at your option) any later version.
6  *
7  * Written (W) 2011 Sergey Lisitsyn
8  * Copyright (C) 2011 Berlin Institute of Technology and Max-Planck-Society
9  */
10 
11 #ifndef LAPLACIANEIGENMAPS_H_
12 #define LAPLACIANEIGENMAPS_H_
13 #include <shogun/lib/config.h>
14 #ifdef HAVE_LAPACK
18 
19 namespace shogun
20 {
21 
22 class CFeatures;
23 class CDistance;
24 
52 {
53 public:
54 
57 
59  virtual ~CLaplacianEigenmaps();
60 
65  virtual CFeatures* apply(CFeatures* features);
66 
72 
76  void set_k(int32_t k);
77 
81  int32_t get_k() const;
82 
86  void set_tau(float64_t tau);
87 
91  float64_t get_tau() const;
92 
94  virtual const char* get_name() const;
95 
96 protected:
97 
99  void init();
100 
106  SGMatrix<float64_t> W_matrix);
107 
108 protected:
109 
111  int32_t m_k;
112 
115 
116 };
117 }
118 
119 #endif /* HAVE_LAPACK */
120 #endif /* LAPLACIANEIGENMAPS_H_ */

SHOGUN Machine Learning Toolbox - Documentation