SHOGUN  4.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules 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-2013 Sergey Lisitsyn
8  * Copyright (C) 2011-2013 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_EIGEN3
17 #include <shogun/kernel/Kernel.h>
18 
19 namespace shogun
20 {
21 
22 class CFeatures;
23 class CKernel;
24 
41 {
42 public:
43 
46 
48  virtual ~CDiffusionMaps();
49 
53  virtual CFeatures* apply(CFeatures* features);
54 
60 
64  void set_t(int32_t t);
65 
69  int32_t get_t() const;
70 
74  void set_width(float64_t width);
75 
79  float64_t get_width() const;
80 
82  virtual const char* get_name() const;
83 
84 protected:
85 
87  void init();
88 
89 protected:
90 
92  int32_t m_t;
93 
96 
97 };
98 }
99 
100 #endif /* HAVE_LAPACK */
101 #endif /* DIFFUSIONMAPS_H_ */
float distance(CJLCoverTreePoint p1, CJLCoverTreePoint p2, float64_t upper_bound)
virtual CFeatures * apply(CFeatures *features)
int32_t get_t() const
Class Distance, a base class for all the distances used in the Shogun toolbox.
Definition: Distance.h:81
virtual CDenseFeatures< float64_t > * embed_distance(CDistance *distance)
class EmbeddingConverter (part of the Efficient Dimensionality Reduction Toolkit) used to construct e...
class DiffusionMaps used to preprocess given data using Diffusion Maps dimensionality reduction techn...
Definition: DiffusionMaps.h:40
virtual const char * get_name() const
double float64_t
Definition: common.h:50
void set_width(float64_t width)
all of classes and functions are contained in the shogun namespace
Definition: class_list.h:18
The class Features is the base class of all feature objects.
Definition: Features.h:68
void set_t(int32_t t)
float64_t get_width() const

SHOGUN Machine Learning Toolbox - Documentation