SHOGUN
4.1.0
首页
相关页面
模块
类
文件
文件列表
文件成员
全部
类
命名空间
文件
函数
变量
类型定义
枚举
枚举值
友元
宏定义
组
页
src
shogun
io
streaming
StreamingFileFromFeatures.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
* Copyright (C) 2011 Berlin Institute of Technology and Max-Planck-Society
9
*/
10
11
#include <
shogun/io/streaming/StreamingFileFromFeatures.h
>
12
13
using namespace
shogun
;
14
15
CStreamingFileFromFeatures::CStreamingFileFromFeatures
()
16
:
CStreamingFile
()
17
{
18
features
=NULL;
19
labels
=NULL;
20
}
21
22
CStreamingFileFromFeatures::CStreamingFileFromFeatures
(
CFeatures
* feat)
23
:
CStreamingFile
()
24
{
25
features
=feat;
26
labels
=NULL;
27
}
28
29
CStreamingFileFromFeatures::CStreamingFileFromFeatures
(
CFeatures
* feat,
float64_t
* lab)
30
:
CStreamingFile
()
31
{
32
features
=feat;
33
labels
=lab;
34
}
35
36
CStreamingFileFromFeatures::~CStreamingFileFromFeatures
()
37
{
38
features
=NULL;
39
labels
=NULL;
40
}
shogun::CStreamingFileFromFeatures::~CStreamingFileFromFeatures
virtual ~CStreamingFileFromFeatures()
Definition:
StreamingFileFromFeatures.cpp:36
StreamingFileFromFeatures.h
shogun::CStreamingFileFromFeatures::labels
float64_t * labels
Labels (if applicable)
Definition:
StreamingFileFromFeatures.h:102
shogun::CStreamingFile
A Streaming File access class.
Definition:
StreamingFile.h:34
shogun::CStreamingFileFromFeatures::features
CFeatures * features
Features object.
Definition:
StreamingFileFromFeatures.h:99
float64_t
double float64_t
Definition:
common.h:50
shogun
all of classes and functions are contained in the shogun namespace
Definition:
class_list.h:18
shogun::CStreamingFileFromFeatures::CStreamingFileFromFeatures
CStreamingFileFromFeatures()
Definition:
StreamingFileFromFeatures.cpp:15
shogun::CFeatures
The class Features is the base class of all feature objects.
Definition:
Features.h:68
SHOGUN
机器学习工具包 - 项目文档