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

Public Member Functions
StopBase Class Reference

#include <vigra/random_forest/rf_earlystopping.hxx>

Inheritance diagram for StopBase:
StopAfterTree StopAfterVoteCount StopIfBinTest StopIfConverging StopIfMargin StopIfProb

List of all members.

Public Member Functions

template<class WeightIter , class T , class C >
bool after_prediction (WeightIter, int k, MultiArrayView< 2, T, C > const &, double)

Detailed Description

Base class from which all EarlyStopping Functors derive.


Member Function Documentation

bool after_prediction ( WeightIter  ,
int  k,
MultiArrayView< 2, T, C > const &  ,
double   
)

called after the prediction of a tree was added to the total prediction

Parameters:
WeightIterIterator to the weights delivered by current tree.
kafter kth tree
probTotal probability array
totalCtsum of probability array.

Reimplemented in StopIfConverging, StopAfterVoteCount, and StopAfterTree.


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.7.1 (Mon Apr 16 2012)