SHOGUN
v2.0.0
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
src
shogun
converter
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 Sergey Lisitsyn
8
* Copyright (C) 2011 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_LAPACK
15
#include <
shogun/converter/MultidimensionalScaling.h
>
16
#include <
shogun/lib/common.h
>
17
#include <
shogun/mathematics/Math.h
>
18
#include <
shogun/io/SGIO.h
>
19
#include <
shogun/features/DenseFeatures.h
>
20
#include <
shogun/features/Features.h
>
21
#include <
shogun/distance/Distance.h
>
22
23
namespace
shogun
24
{
25
26
class
CFeatures;
27
class
CDistance;
28
49
class
CIsomap
:
public
CMultidimensionalScaling
50
{
51
public
:
52
53
/* constructor */
54
CIsomap
();
55
56
/* destructor */
57
virtual
~CIsomap
();
58
60
const
char
*
get_name
()
const
;
61
65
void
set_k
(int32_t k);
66
70
int32_t
get_k
()
const
;
71
73
protected
:
74
76
virtual
void
init
();
77
82
virtual
SGMatrix<float64_t>
process_distance_matrix
(
SGMatrix<float64_t>
distance_matrix);
83
84
86
protected
:
87
89
int32_t
m_k
;
90
92
protected
:
93
97
static
void
*
run_dijkstra_thread
(
void
* p);
98
103
SGMatrix<float64_t>
isomap_distance
(
SGMatrix<float64_t>
D_matrix);
104
105
};
106
}
107
#endif
/* HAVE_LAPACK */
108
#endif
/* ISOMAP_H_ */
SHOGUN
Machine Learning Toolbox - Documentation