lib/quarry/src/classifier/classifier.h in thera-0.0.3 vs lib/quarry/src/classifier/classifier.h in thera-0.0.4
- old
+ new
@@ -30,9 +30,10 @@
public:
DataSet::DataSet *data_set;
vector<bool> numeric_features;
vector<bool> nominal_features;
+ Classifier() {}
Classifier(DataSet::DataSet *data_set) : data_set(data_set), numeric_features(data_set->features_size(), 0), nominal_features(data_set->features_size(), 0) {
DataSet::Feature *feature = NULL;
for(unsigned int i = 0; i < data_set->features.size(); i++) {
feature = data_set->features[i];