[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]
StopIfBinTest Class Reference |
#include <vigra/random_forest/rf_earlystopping.hxx>
Public Member Functions | |
StopIfBinTest (double alpha, MultiArrayView< 2, double > nck_) | |
Public Attributes | |
ArrayVector< double > | depths |
Probabilistic Stopping criterion (binomial test)
Can only be used in a two class setting
Stop if the Parameters estimated for the underlying binomial distribution can be estimated with certainty over 1-alpha. (Thesis, Rahul Nair Page 80 onwards: called the "binomial" criterion
StopIfBinTest | ( | double | alpha, |
MultiArrayView< 2, double > | nck_ | ||
) |
Constructor
alpha | specify alpha (=proportion) value for binomial test. |
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
|