Utility class for cross-validating classifier meta-parameters by brute-force testing of all combinations of some given settings.
More...
|
const char * | type () const |
| returns object type as a string (e.g., Foo::type() { return "Foo"; })
|
|
bool | save (drwnXMLNode &xml) const |
| write object to XML node (see also write)
|
|
bool | load (drwnXMLNode &xml) |
| read object from XML node (see also read)
|
|
unsigned | trials () const |
| number of trials that will be run
|
|
void | clear () |
| clear all settings
|
|
void | clear (const char *property) |
| clear settings for a particular property
|
|
void | add (const char *property, const char *value) |
| add a single parameter setting
|
|
void | addLinear (const char *property, double startValue, double endValue, int numSteps=10) |
| add linear parameter range
|
|
void | addLogarithmic (const char *property, double startValue, double endValue, int numSteps=10) |
| add logarithmic parameter range
|
|
double | crossValidate (drwnClassifier *&classifier, const drwnClassifierDataset &trainSet, const drwnClassifierDataset &testSet) const |
| run the cross-validation
|
|
bool | write (const char *filename) const |
| write object to file (calls save)
|
|
bool | read (const char *filename) |
| read object from file (calls load)
|
|
void | dump () const |
| print object's current state to standard output (for debugging)
|
|
Utility class for cross-validating classifier meta-parameters by brute-force testing of all combinations of some given settings.