SHOGUN  v3.2.0
Isomap.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 ISOMAP_H_
12 #define ISOMAP_H_
13 #include <shogun/lib/config.h>
14 #ifdef HAVE_EIGEN3
16 #include <shogun/io/SGIO.h>
20 
21 namespace shogun
22 {
23 
24 class CFeatures;
25 class CDistance;
26 
45 {
46 public:
47 
48  /* constructor */
49  CIsomap();
50 
51  /* destructor */
52  virtual ~CIsomap();
53 
55  const char* get_name() const;
56 
60  void set_k(int32_t k);
61 
65  int32_t get_k() const;
66 
69 
71 protected:
72 
74  virtual void init();
75 
77 protected:
78 
80  int32_t m_k;
81 
82 };
83 }
84 #endif /* HAVE_EIGEN3 */
85 #endif /* ISOMAP_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:80
const char * get_name() const
Definition: Isomap.cpp:46
virtual ~CIsomap()
Definition: Isomap.cpp:31
class Multidimensionalscaling is used to perform multidimensional scaling (capable of landmark approx...
void set_k(int32_t k)
Definition: Isomap.cpp:35
int32_t get_k() const
Definition: Isomap.cpp:41
all of classes and functions are contained in the shogun namespace
Definition: class_list.h:16
class Isomap used to embed data using Isomap algorithm as described in
Definition: Isomap.h:44
int32_t m_k
FIELDS.
Definition: Isomap.h:80
virtual void init()
HELPERS.
Definition: Isomap.cpp:26
virtual CDenseFeatures< float64_t > * embed_distance(CDistance *distance)
Definition: Isomap.cpp:51

SHOGUN Machine Learning Toolbox - Documentation