SHOGUN
3.2.1
首页
相关页面
模块
类
文件
文件列表
文件成员
全部
类
命名空间
文件
函数
变量
类型定义
枚举
枚举值
友元
宏定义
组
页
src
shogun
preprocessor
DensePreprocessor.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) 1999-2009 Soeren Sonnenburg
8
* Copyright (C) 1999-2009 Fraunhofer Institute FIRST and Max-Planck-Society
9
*/
10
11
#ifndef _DENSEPREPROCESSOR__H__
12
#define _DENSEPREPROCESSOR__H__
13
14
#include <
shogun/features/Features.h
>
15
#include <
shogun/features/DenseFeatures.h
>
16
#include <
shogun/lib/common.h
>
17
#include <
shogun/preprocessor/Preprocessor.h
>
18
19
namespace
shogun
20
{
21
template
<
class
ST>
class
CDenseFeatures;
22
31
template
<
class
ST>
class
CDensePreprocessor
:
public
CPreprocessor
32
{
33
public
:
36
CDensePreprocessor
();
37
41
virtual
SGMatrix<ST>
apply_to_feature_matrix
(
CFeatures
* features)=0;
42
45
virtual
SGVector<ST>
apply_to_feature_vector
(
SGVector<ST>
vector)=0;
46
48
virtual
EFeatureClass
get_feature_class
();
50
virtual
EFeatureType
get_feature_type
();
51
53
virtual
EPreprocessorType
get_type
()
const
;
54
55
};
56
57
}
58
#endif
SHOGUN
机器学习工具包 - 项目文档