SHOGUN
4.2.0
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
src
shogun
io
streaming
StreamingFileFromFeatures.cpp
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 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
Machine Learning Toolbox - Documentation