vigra - StopIfMargin Class Reference

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

| StopIfMargin Class Reference |

`#include <vigra/random_forest/rf_earlystopping.hxx>`

Inheritance diagram for StopIfMargin:

## Public Member Functions
| StopIfMargin (double proportion)

## Detailed Description

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)

## Constructor & Destructor Documentation

StopIfMargin | ( | double | proportion | ) |

Constructor

Parameters

  proportion | specify proportion to be used.

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

- vigra/random_forest/rf_earlystopping.hxx

© 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)