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
DiffusionMaps.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 DIFFUSIONMAPS_H_
12
#define DIFFUSIONMAPS_H_
13
#include <
shogun/lib/config.h
>
14
#include <
shogun/converter/EmbeddingConverter.h
>
15
#ifdef HAVE_LAPACK
16
#include <
shogun/features/Features.h
>
17
#include <
shogun/kernel/Kernel.h
>
18
19
namespace
shogun
20
{
21
22
class
CFeatures;
23
class
CKernel;
24
40
class
CDiffusionMaps
:
public
CEmbeddingConverter
41
{
42
public
:
43
45
CDiffusionMaps
();
46
48
virtual
~CDiffusionMaps
();
49
53
virtual
CFeatures
*
apply
(
CFeatures
* features);
54
59
virtual
CDenseFeatures<float64_t>
*
embed_kernel
(
CKernel
* kernel);
60
64
void
set_t
(int32_t t);
65
69
int32_t
get_t
()
const
;
70
72
virtual
const
char
*
get_name
()
const
;
73
74
protected
:
75
77
void
init
();
78
79
protected
:
80
82
int32_t
m_t
;
83
84
};
85
}
86
87
#endif
/* HAVE_LAPACK */
88
#endif
/* DIFFUSIONMAPS_H_ */
SHOGUN
Machine Learning Toolbox - Documentation