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