[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]

details StopIfProb Class Reference VIGRA

#include <vigra/random_forest/rf_earlystopping.hxx>

Inheritance diagram for StopIfProb:
StopBase

Public Member Functions

 StopIfProb (double alpha, MultiArrayView< 2, double > nck_)
 

Public Attributes

ArrayVector< double > depths
 

Detailed Description

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

Constructor & Destructor Documentation

StopIfProb ( double  alpha,
MultiArrayView< 2, double >  nck_ 
)

Constructor

Parameters
alphaspecify alpha (=proportion) value
nck_Matrix with precomputed values for n choose k nck_(n, k) is n choose k.

Member Data Documentation

ArrayVector<double> depths

ArrayVector that will contain the fraction of trees that was visited before terminating


The documentation for this class was generated from the following file:

© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de)
Heidelberg Collaboratory for Image Processing, University of Heidelberg, Germany

html generated using doxygen and Python
vigra 1.11.1 (Fri May 19 2017)