SHOGUN  4.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules 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-2013 Sergey Lisitsyn
8  * Copyright (C) 2011-2013 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_EIGEN3
18 
19 namespace shogun
20 {
21 
22 class CFeatures;
23 class CDistance;
24 
40 {
41 public:
42 
45 
47  virtual ~CLaplacianEigenmaps();
48 
53  virtual CFeatures* apply(CFeatures* features);
54 
59 
63  void set_k(int32_t k);
64 
68  int32_t get_k() const;
69 
73  void set_tau(float64_t tau);
74 
78  float64_t get_tau() const;
79 
81  virtual const char* get_name() const;
82 
83 protected:
84 
86  void init();
87 
88 protected:
89 
91  int32_t m_k;
92 
95 
96 };
97 }
98 
99 #endif /* HAVE_EIGEN3 */
100 #endif /* LAPLACIANEIGENMAPS_H_ */
float distance(CJLCoverTreePoint p1, CJLCoverTreePoint p2, float64_t upper_bound)
Class Distance, a base class for all the distances used in the Shogun toolbox.
Definition: Distance.h:81
class EmbeddingConverter (part of the Efficient Dimensionality Reduction Toolkit) used to construct e...
virtual CDenseFeatures< float64_t > * embed_distance(CDistance *distance)
double float64_t
Definition: common.h:50
class LaplacianEigenmaps used to construct embeddings of data using Laplacian Eigenmaps algorithm as ...
all of classes and functions are contained in the shogun namespace
Definition: class_list.h:18
virtual CFeatures * apply(CFeatures *features)
The class Features is the base class of all feature objects.
Definition: Features.h:68
virtual const char * get_name() const

SHOGUN Machine Learning Toolbox - Documentation