SHOGUN  5.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules
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>
18 
19 namespace shogun
20 {
21 
22 class CFeatures;
23 class CDistance;
24 
47 {
48 public:
49 
52 
54  virtual ~CLocallyLinearEmbedding();
55 
59  virtual CFeatures* apply(CFeatures* features);
60 
64  void set_k(int32_t k);
65 
69  int32_t get_k() const;
70 
74  void set_reconstruction_shift(float64_t reconstruction_shift);
75 
80 
84  void set_nullspace_shift(float64_t nullspace_shift);
85 
90 
92  virtual const char* get_name() const;
93 
95 protected:
96 
98  void init();
99 
101 protected:
102 
104  int32_t m_k;
105 
108 
111 
112 };
113 }
114 
115 #endif /* LOCALLYLINEAREMBEDDING_H_ */
class EmbeddingConverter (part of the Efficient Dimensionality Reduction Toolkit) used to construct e...
void set_reconstruction_shift(float64_t reconstruction_shift)
virtual const char * get_name() const
double float64_t
Definition: common.h:50
virtual CFeatures * apply(CFeatures *features)
class LocallyLinearEmbedding used to embed data using Locally Linear Embedding algorithm described in...
void set_nullspace_shift(float64_t nullspace_shift)
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

SHOGUN Machine Learning Toolbox - Documentation