SHOGUN  4.1.0
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
Isomap.h
浏览该文件的文档.
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 
60 {
61 public:
62 
63  /* constructor */
64  CIsomap();
65 
66  /* destructor */
67  virtual ~CIsomap();
68 
70  const char* get_name() const;
71 
75  void set_k(int32_t k);
76 
80  int32_t get_k() const;
81 
84 
86 protected:
87 
89  virtual void init();
90 
92 protected:
93 
95  int32_t m_k;
96 
97 };
98 }
99 #endif /* HAVE_EIGEN3 */
100 #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:81
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:18
The Isomap class is used to embed data using Isomap algorithm as described in:
Definition: Isomap.h:59
int32_t m_k
FIELDS.
Definition: Isomap.h:95
virtual void init()
HELPERS.
Definition: Isomap.cpp:26
virtual CDenseFeatures< float64_t > * embed_distance(CDistance *distance)
Definition: Isomap.cpp:51

SHOGUN 机器学习工具包 - 项目文档