SHOGUN  v2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
KernelLocallyLinearEmbedding.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 KERNELLOCALLYLINEAREMBEDDING_H_
12 #define KERNELLOCALLYLINEAREMBEDDING_H_
13 #include <shogun/lib/config.h>
14 #ifdef HAVE_LAPACK
18 #include <shogun/kernel/Kernel.h>
19 #include <shogun/lib/CoverTree.h>
20 
21 namespace shogun
22 {
23 
24 class CFeatures;
25 class CKernel;
26 
45 {
46 public:
47 
50 
55 
58 
60  virtual CFeatures* apply(CFeatures* features);
61 
66 
68  virtual const char* get_name() const;
69 
71 protected:
72 
75  SGMatrix<int32_t> neighborhood_matrix);
76 
83  virtual SGMatrix<int32_t> get_neighborhood_matrix(SGMatrix<float64_t> kernel_matrix, int32_t k);
84 
85 
87 protected:
88 
92  static void* run_linearreconstruction_thread(void* p);
93 
94 };
95 }
96 
97 #endif /* HAVE_LAPACK */
98 #endif /* KERNELLOCALLYLINEAREMBEDDING_H_ */

SHOGUN Machine Learning Toolbox - Documentation