25 #ifndef EEGTRAININGDATA_H
26 #define EEGTRAININGDATA_H
48 template<
class Archive>
49 void serialize(Archive & ar,
const unsigned int version)
60 std::vector< std::vector <EEGData> > data;
61 ublas::vector<int> class_vector;
64 std::vector<int> sequence_order;
67 std::vector<string> class_labels;
68 std::vector<string> channel_names;
75 void set(
unsigned int cls,
unsigned int seq,
EEGData &data);
78 void append(
unsigned int cls,
unsigned int seq,
EEGData &data);
81 EEGData&
get(
unsigned int cls,
unsigned int seq);
87 void reserve(
unsigned int cls,
unsigned int seq);
93 ublas::matrix<double>
collapse()
const;
120 int numSamples(
unsigned int cls,
unsigned int sequence)
const;