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

Classes | Functions

Classes

class  DecisionTree
class  RF_DEFAULT
 singleton default tag class - More...
class  Value_Chooser
 chooses between default type and type supplied More...

Functions

template<unsigned int N, class T , class C >
bool contains_inf (MultiArrayView< N, T, C > const &in)
template<unsigned int N, class T , class C >
bool contains_nan (MultiArrayView< N, T, C > const &in)
template<class T >
void fill_external_parameters (RandomForestOptions &options, ProblemSpec< T > &ext_param)
template<class Container >
bool find_groups_hdf5 (hid_t grp_id, Container &cont)
template<class Container >
bool find_groups_hdf5 (std::string filename, std::string groupname, Container &cont)
template<class U , class T >
void write_array_2_hdf5 (hid_t &id, ArrayVector< U > const &arr, std::string const &name, T type)

Detailed Description

Functor To Calculate the Best possible Split Based on the Gini Index given Labels and Features along a given Axis


Function Documentation

void vigra::detail::fill_external_parameters ( RandomForestOptions &  options,
ProblemSpec< T > &  ext_param 
)

Common helper function used in all Processors. This function analyses the options struct and calculates the real values needed for the current problem (data)

bool vigra::detail::contains_nan ( MultiArrayView< N, T, C > const &  in)

Returns true if MultiArray contains NaNs

bool vigra::detail::contains_inf ( MultiArrayView< N, T, C > const &  in)

Returns true if MultiArray contains Infs

bool vigra::detail::find_groups_hdf5 ( hid_t  grp_id,
Container &  cont 
)

shallow search the hdf5 group for containing elements returns negative value if unsuccessful

Parameters:
grp_idhid_t containing path to group.
contreference to container that supports insert(). valuetype of cont must be std::string
bool vigra::detail::find_groups_hdf5 ( std::string  filename,
std::string  groupname,
Container &  cont 
)

shallow search the hdf5 group for containing elements returns negative value if unsuccessful

Parameters:
filenamename of hdf5 file
groupnamepath in hdf5 file
contreference to container that supports insert(). valuetype of cont must be std::string
void vigra::detail::write_array_2_hdf5 ( hid_t &  id,
ArrayVector< U > const &  arr,
std::string const &  name,
type 
)

write a ArrayVector to a hdf5 dataset.

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