[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]
#include <vigra/random_forest/rf_split.hxx>
Public Member Functions | |
| template<class T, class C, class T2, class C2, class Region, class Random> | |
| int | findBestSplit (MultiArrayView< 2, T, C >, MultiArrayView< 2, T2, C2 >, Region, ArrayVector< Region >, Random) |
| template<class T, class C, class T2, class C2, class Region, class Random> | |
| int | makeTerminalNode (MultiArrayView< 2, T, C >, MultiArrayView< 2, T2, C2 >, Region ®ion, Random) |
| void | reset () |
| template<class T> | |
| void | set_external_parameters (ProblemSpec< T > const &in) |
Base Class for all SplitFunctors used with the RandomForest class defines the interface used while learning a tree.
returns the DecisionTree Node created by findBestSplit() or makeTerminalNode().
| void reset | ( | ) |
resets internal data. Should always be called before calling findBestSplit or makeTerminalNode
| int findBestSplit | ( | MultiArrayView< 2, T, C > | , |
| MultiArrayView< 2, T2, C2 > | , | ||
| Region | , | ||
| ArrayVector< Region > | , | ||
| Random | ) |
findBestSplit has to be re-implemented in derived split functor. The defaut implementation only insures that a CompileTime error is issued if no such method was defined.
| int makeTerminalNode | ( | MultiArrayView< 2, T, C > | , |
| MultiArrayView< 2, T2, C2 > | , | ||
| Region & | region, | ||
| Random | ) |
Default action for creating a terminal Node. sets the Class probability of the remaining region according to the class histogram
|
© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de) |