SHOGUN  v1.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DiffusionMaps.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 DIFFUSIONMAPS_H_
12 #define DIFFUSIONMAPS_H_
13 #include <shogun/lib/config.h>
15 #ifdef HAVE_LAPACK
17 #include <shogun/kernel/Kernel.h>
18 
19 namespace shogun
20 {
21 
22 class CFeatures;
23 class CKernel;
24 
29 {
30 public:
31 
34 
36  virtual ~CDiffusionMaps();
37 
41  virtual CFeatures* apply(CFeatures* features);
42 
48 
52  void set_t(int32_t t);
53 
57  int32_t get_t() const;
58 
60  virtual const char* get_name() const;
61 
62 protected:
63 
65  void init();
66 
67 protected:
68 
70  int32_t m_t;
71 
72 };
73 }
74 
75 #endif /* HAVE_LAPACK */
76 #endif /* DIFFUSIONMAPS_H_ */
virtual CFeatures * apply(CFeatures *features)
int32_t get_t() const
class EmbeddingConverter used to create embeddings of features, e.g. construct dense numeric embeddin...
CDiffusionMaps used to preprocess given data using diffusion maps dimensionality reduction technique...
Definition: DiffusionMaps.h:28
virtual const char * get_name() const
The class Features is the base class of all feature objects.
Definition: Features.h:56
The Kernel base class.
Definition: Kernel.h:172
void set_t(int32_t t)
virtual CSimpleFeatures< float64_t > * embed_kernel(CKernel *kernel)

SHOGUN Machine Learning Toolbox - Documentation