SHOGUN  4.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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>
15 #include <shogun/io/SGIO.h>
19 
20 namespace shogun
21 {
22 
23 class CFeatures;
24 class CDistance;
25 
59 {
60 public:
61 
62  /* constructor */
63  CIsomap();
64 
65  /* destructor */
66  virtual ~CIsomap();
67 
69  const char* get_name() const;
70 
74  void set_k(int32_t k);
75 
79  int32_t get_k() const;
80 
83 
85 protected:
86 
88  virtual void init();
89 
91 protected:
92 
94  int32_t m_k;
95 
96 };
97 }
98 #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:87
const char * get_name() const
Definition: Isomap.cpp:45
virtual ~CIsomap()
Definition: Isomap.cpp:30
class Multidimensionalscaling is used to perform multidimensional scaling (capable of landmark approx...
void set_k(int32_t k)
Definition: Isomap.cpp:34
int32_t get_k() const
Definition: Isomap.cpp:40
all of classes and functions are contained in the shogun namespace
Definition: class_list.h:18
The Isomap class is used to embed data using Isomap algorithm as described in:
Definition: Isomap.h:58
int32_t m_k
FIELDS.
Definition: Isomap.h:94
virtual void init()
HELPERS.
Definition: Isomap.cpp:25
virtual CDenseFeatures< float64_t > * embed_distance(CDistance *distance)
Definition: Isomap.cpp:50

SHOGUN Machine Learning Toolbox - Documentation