[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]
StopIfProb Class Reference |
#include <vigra/random_forest/rf_earlystopping.hxx>
Public Member Functions | |
StopIfProb (double alpha, MultiArrayView< 2, double > nck_) | |
Public Attributes | |
ArrayVector< double > | depths |
Probabilistic Stopping criteria. (toChange)
Can only be used in a two class setting
Stop if the probability that the decision will change after seeing all trees falls under a specified value alpha. (Thesis, Rahul Nair Page 80 onwards: called the "toChange" criterion
StopIfProb | ( | double | alpha, |
MultiArrayView< 2, double > | nck_ | ||
) |
Constructor
alpha | specify alpha (=proportion) value |
nck_ | Matrix with precomputed values for n choose k nck_(n, k) is n choose k. |
ArrayVector<double> depths |
ArrayVector that will contain the fraction of trees that was visited before terminating
© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de) |
html generated using doxygen and Python
|