|
latest version v1.9 - last update 24 Nov 2005 |
|
#include <ltiCrossValidator.h>
Inheritance diagram for lti::crossValidator:


Public Member Functions | |
| crossValidator () | |
| crossValidator (const crossValidator &other) | |
| virtual | ~crossValidator () |
| virtual const char * | getTypeName () const |
| double | apply (const dmatrix &data, const ivector &ids) const |
| bool | apply (const dmatrix &data, const ivector &ids, double &avRecogRate) const |
| crossValidator & | copy (const crossValidator &other) |
| crossValidator & | operator= (const crossValidator &other) |
| virtual functor * | clone () const |
| const parameters & | getParameters () const |
Protected Member Functions | |
| bool | splitData (const dmatrix &data, std::list< ivector > &splittedData) const |
Classes | |
| class | parameters |
| the parameters for the class crossValidator More... | |
It divides the data at random in nbOfSplits distinct segments. Then the network is trained with nbOfSplits-1 of the segments. Then each data point of the remaining segment is classified. This process is repeated for every possible choice of the the segment which is omited from the classification process. The classifier that is used for validation is expected to delete old results from previous trainings, because the classifier is trained with different training data set during validation.
|
|
default constructor
|
|
|
copy constructor
|
|
|
destructor
|
|
||||||||||||||||
|
Computes the average the average recognition rate of the given data using the specified classifier.
|
|
||||||||||||
|
Computes the average the average recognition rate of the given data using the specified classifier.
|
|
|
returns a pointer to a clone of this functor.
Implements lti::functor. |
|
|
copy data of "other" functor.
|
|
|
returns used parameters
Reimplemented from lti::functor. |
|
|
returns the name of this type ("crossValidator")
Reimplemented from lti::functor. |
|
|
alias for copy member
|
|
||||||||||||
|
Splits the given data into parts. The points are randomly drawn from the the src data. |