21 #define GRT_DLL_EXPORTS 27 TimeSeriesClassificationSample::TimeSeriesClassificationSample():classLabel(0){};
29 TimeSeriesClassificationSample::TimeSeriesClassificationSample(
const UINT classLabel,
const MatrixFloat &
data){
30 this->classLabel = classLabel;
35 this->classLabel = rhs.classLabel;
36 this->
data = rhs.data;
39 TimeSeriesClassificationSample::~TimeSeriesClassificationSample(){};
41 bool TimeSeriesClassificationSample::clear(){
47 bool TimeSeriesClassificationSample::addSample(
const UINT classLabel,
const VectorFloat &sample){
48 this->classLabel = classLabel;
49 this->
data.push_back( sample );
53 bool TimeSeriesClassificationSample::setTrainingSample(
const UINT classLabel,
const MatrixFloat &
data){
54 this->classLabel = classLabel;
Vector< TimeSeriesClassificationSample > data
The labelled time series classification data.
This class stores the timeseries data for a single labelled timeseries classification sample...