SHOGUN  v3.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
StreamingFileFromFeatures.h
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 #ifndef __STREAMING_FILEFROMFEATURES_H__
11 #define __STREAMING_FILEFROMFEATURES_H__
12 
15 
16 namespace shogun
17 {
35 {
36 public:
41 
48 
56 
61 
67  virtual void set_features(CFeatures* feat)
68  {
69  ASSERT(feat)
70  features=feat;
71  }
72 
78  virtual void set_labels(float64_t* lab)
79  {
80  ASSERT(lab)
81  labels=lab;
82  }
83 
85  virtual const char* get_name() const
86  {
87 
88  return "StreamingFileFromFeatures";
89 
90  }
91 
92 protected:
93 
96 
99 };
100 }
101 #endif //__STREAMING_FILEFROMFEATURES_H__

SHOGUN Machine Learning Toolbox - Documentation