traintestsets.h
Go to the documentation of this file.
1 #ifndef TRAINTESTSETS_H
2 #define TRAINTESTSETS_H
3 
4 /*
5  * traintestsets.h
6  * Copyright (c) 2016 Georgetown University. All Rights Reserved.
7  */
8 
9 #include <iostream>
10 #include "dataset.h"
11 
12 using namespace std;
13 
23 
33  friend ostream &operator<<( ostream &out, const TrainTestSets &tts );
34 
35  protected:
36 
39 
42 
43  public:
44 
47  TrainTestSets();
48 
56  TrainTestSets( const vector<string> &options ) throw ( logic_error );
57 
64  DataSet getTrainingSet() const;
65 
72  DataSet getTestingSet() const;
73 
80  void setTrainingSet( const DataSet &train );
81 
88  void setTestingSet( const DataSet &test );
89 
99  void setOptions( const vector<string> &options ) throw ( logic_error );
100 
101 }; // TrainTestSets class
102 
103 #endif
Definition: traintestsets.h:22
Definition: dataset.h:25
DataSet train
Definition: traintestsets.h:38
DataSet test
Definition: traintestsets.h:41
ostream & operator<<(ostream &out, const Attribute &a)
Definition: attribute.cc:31