SHOGUN
3.2.1
首页
相关页面
模块
类
文件
文件列表
文件成员
全部
类
命名空间
文件
函数
变量
类型定义
枚举
枚举值
友元
宏定义
组
页
src
shogun
features
streaming
StreamingFeatures.cpp
浏览该文件的文档.
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 Shashwat Lal Das
8
* Written (W) 2012 Heiko Strathmann
9
* Copyright (C) 2011 Berlin Institute of Technology and Max-Planck-Society
10
*/
11
#include <
shogun/features/streaming/StreamingFeatures.h
>
12
#include <
shogun/features/streaming/StreamingDenseFeatures.h
>
13
#include <
shogun/features/DenseFeatures.h
>
14
15
using namespace
shogun;
16
17
CStreamingFeatures::CStreamingFeatures
() :
CFeatures
()
18
{
19
working_file
=NULL;
20
}
21
22
CStreamingFeatures::~CStreamingFeatures
()
23
{
24
SG_DEBUG
(
"entering CStreamingFeatures::~CStreamingFeatures()\n"
)
25
SG_UNREF
(
working_file
);
26
SG_DEBUG
(
"leaving CStreamingFeatures::~CStreamingFeatures()\n"
)
27
}
28
29
void
CStreamingFeatures::set_read_functions
()
30
{
31
set_vector_reader
();
32
set_vector_and_label_reader
();
33
}
34
35
bool
CStreamingFeatures::get_has_labels
()
36
{
37
return
has_labels
;
38
}
39
40
bool
CStreamingFeatures::is_seekable
()
41
{
42
return
seekable
;
43
}
44
45
void
CStreamingFeatures::reset_stream
()
46
{
47
SG_NOTIMPLEMENTED
48
return
;
49
}
SHOGUN
机器学习工具包 - 项目文档