22 #include "drwnClassifier.h"
32 map<string, list<string> > _settings;
39 const char *
type()
const {
return "drwnCrossValidator"; }
40 bool save(drwnXMLNode& xml)
const;
41 bool load(drwnXMLNode& xml);
44 unsigned trials()
const;
47 void clear() { _settings.clear(); }
49 void clear(
const char *property);
52 void add(
const char *property,
const char *value);
54 void addLinear(
const char *property,
double startValue,
double endValue,
int numSteps = 10);
56 void addLogarithmic(
const char *property,
double startValue,
double endValue,
int numSteps = 10);
void clear()
clear all settings
Definition: drwnCrossValidator.h:47
interface for objects that can serialize and de-serialize themselves
Definition: drwnInterfaces.h:48
Utility class for cross-validating classifier meta-parameters by brute-force testing of all combinati...
Definition: drwnCrossValidator.h:30
Implements the interface for a generic machine learning classifier.
Definition: drwnClassifier.h:31
const char * type() const
returns object type as a string (e.g., Foo::type() { return "Foo"; })
Definition: drwnCrossValidator.h:39
Implements a cacheable dataset containing feature vectors, labels and optional weights.
Definition: drwnDataset.h:43