SHOGUN  3.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
LocallyLinearEmbedding.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-2013 Sergey Lisitsyn
8  * Copyright (C) 2011-2013 Berlin Institute of Technology and Max-Planck-Society
9  */
10 
11 #ifndef LOCALLYLINEAREMBEDDING_H_
12 #define LOCALLYLINEAREMBEDDING_H_
13 #include <shogun/lib/config.h>
14 #ifdef HAVE_EIGEN3
19 
20 namespace shogun
21 {
22 
23 class CFeatures;
24 class CDistance;
25 
48 {
49 public:
50 
53 
55  virtual ~CLocallyLinearEmbedding();
56 
60  virtual CFeatures* apply(CFeatures* features);
61 
65  void set_k(int32_t k);
66 
70  int32_t get_k() const;
71 
75  void set_reconstruction_shift(float64_t reconstruction_shift);
76 
81 
85  void set_nullspace_shift(float64_t nullspace_shift);
86 
91 
93  virtual const char* get_name() const;
94 
96 protected:
97 
99  void init();
100 
102 protected:
103 
105  int32_t m_k;
106 
109 
112 
113 };
114 }
115 
116 #endif /* HAVE_EIGEN3 */
117 #endif /* LOCALLYLINEAREMBEDDING_H_ */

SHOGUN Machine Learning Toolbox - Documentation