SHOGUN
3.2.1
首页
相关页面
模块
类
文件
文件列表
文件成员
全部
类
命名空间
文件
函数
变量
类型定义
枚举
枚举值
友元
宏定义
组
页
src
shogun
converter
ManifoldSculpting.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) 2013 Vladyslav S. Gorbatiuk
8
* Copyright (C) 2011-2013 Vladyslav S. Gorbatiuk
9
*/
10
11
#ifndef MANIFOLDSCULPTING_H_
12
#define MANIFOLDSCULPTING_H_
13
#include <
shogun/lib/config.h
>
14
#ifdef HAVE_EIGEN3
15
#include <
shogun/converter/EmbeddingConverter.h
>
16
#include <
shogun/features/Features.h
>
17
18
namespace
shogun
19
{
20
27
class
CManifoldSculpting
:
public
CEmbeddingConverter
28
{
29
public
:
30
32
CManifoldSculpting
();
33
35
virtual
~CManifoldSculpting
();
36
38
virtual
const
char
*
get_name
()
const
;
39
44
virtual
CFeatures
*
apply
(
CFeatures
* features);
45
50
void
set_k
(
const
int32_t k);
51
56
int32_t
get_k
()
const
;
57
62
void
set_squishing_rate
(
const
float64_t
squishing_rate);
63
68
float64_t
get_squishing_rate
()
const
;
69
74
void
set_max_iteration
(
const
int32_t max_iteration);
75
80
int32_t
get_max_iteration
()
const
;
81
82
private
:
83
85
void
init();
86
87
private
:
88
90
float64_t
m_k;
91
93
float64_t
m_squishing_rate;
94
98
float64_t
m_max_iteration;
99
100
};
/* class CManifoldSculpting */
101
102
}
/* namespace shogun */
103
104
#endif
/* HAVE_EIGEN3 */
105
#endif
/* MANIFOLDSCULPTING_H_ */
SHOGUN
机器学习工具包 - 项目文档