SHOGUN  4.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
StreamingFeatures.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  * Written (W) 2012 Heiko Strathmann
9  * Copyright (C) 2011 Berlin Institute of Technology and Max-Planck-Society
10  */
14 
15 using namespace shogun;
16 
18 {
19  working_file=NULL;
20 }
21 
23 {
24  SG_DEBUG("entering CStreamingFeatures::~CStreamingFeatures()\n")
26  SG_DEBUG("leaving CStreamingFeatures::~CStreamingFeatures()\n")
27 }
28 
30 {
33 }
34 
36 {
37  return has_labels;
38 }
39 
41 {
42  return seekable;
43 }
44 
46 {
48  return;
49 }
bool has_labels
Whether examples are labelled or not.
#define SG_NOTIMPLEMENTED
Definition: SGIO.h:139
CStreamingFile * working_file
The StreamingFile object to read from.
virtual void set_vector_and_label_reader()=0
virtual void set_vector_reader()=0
#define SG_UNREF(x)
Definition: SGObject.h:52
#define SG_DEBUG(...)
Definition: SGIO.h:107
all of classes and functions are contained in the shogun namespace
Definition: class_list.h:18
bool seekable
Whether the stream is seekable.
The class Features is the base class of all feature objects.
Definition: Features.h:68

SHOGUN Machine Learning Toolbox - Documentation