[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]
StopAfterVoteCount Class Reference |
#include <vigra/random_forest/rf_earlystopping.hxx>
Public Member Functions | |
StopAfterVoteCount (double proportion) | |
Stop predicting after a certain amount of votes exceed certain proportion. case unweighted voting: stop if the leading class exceeds proportion * SB::tree_count_ case weighted voting: stop if the leading class exceeds proportion * msample_ * SB::tree_count_ ; (maximal number of votes possible in both cases)
StopAfterVoteCount | ( | double | proportion | ) |
Constructor
proportion | specify proportion to be used. |
© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de) |
html generated using doxygen and Python
|