[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]
![]() |
ProblemSpec< LabelType > Class Template Reference | ![]() |
problem specification class for the random forest. More...
#include <vigra/random_forest/rf_common.hxx>
Public Types | |
typedef LabelType | Label_t |
problem class | |
Public Member Functions | |
template<class W_Iter > | |
ProblemSpec & | class_weights (W_Iter begin, W_Iter end) |
supply with class weights - More... | |
template<class C_Iter > | |
ProblemSpec & | classes_ (C_Iter begin, C_Iter end) |
supply with class labels - More... | |
ProblemSpec () | |
set default values (-> values not set) | |
problem specification class for the random forest.
This class contains all the problem specific parameters the random forest needs for learning. Specification of an instance of this class is optional as all necessary fields will be computed prior to learning if not specified.
if needed usage is similar to that of RandomForestOptions
ProblemSpec& classes_ | ( | C_Iter | begin, |
C_Iter | end | ||
) |
supply with class labels -
the preprocessor will not calculate the labels needed in this case.
ProblemSpec& class_weights | ( | W_Iter | begin, |
W_Iter | end | ||
) |
supply with class weights -
this is the only case where you would really have to create a ProblemSpec object.
© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de) |
html generated using doxygen and Python
|