|
|
template<class P1 , class SrcFeature > |
| | DecisionTree (const DecisionTree< SrcFeature, DataType > &src, const P1 &p1) |
| | Copy & convert constructor.
|
| |
|
template<class P1 , class P2 , class SrcFeature > |
| | DecisionTree (const DecisionTree< SrcFeature, DataType > &src, P1 p1, const P2 &p2) |
| | Copy & convert constructor.
|
| |
|
template<class P1 , class P2 , class P3 > |
| | DecisionTree (const DecisionTree< T, DataType > &src, P1 p1, P2 p2, P3 p3) |
| | Copy & convert constructor.
|
| |
|
| DecisionTree (const DecisionTree< T, DataType > &src) |
| |
|
void | operator= (const DecisionTree< T > &src) |
| |
|
| DecisionTree (std::istream &in) |
| |
|
bool | load (std::istream &in) |
| |
|
void | save (std::ostream &out) const |
| |
|
template<class FeatureType > |
| bool | export_features (std::vector< FeatureType > &out) const |
| |
|
template<class Param1 > |
| float | classify (const unsigned int *image, Param1 stride) const |
| | perform the classification stage (1 params)
|
| |
|
float | classify (const unsigned int *image) const |
| | perform the classification stage (no params)
|
| |
|
template<class Param1 > |
| float | operator() (const unsigned int *image, Param1 stride) const |
| |
|
float | operator() (const unsigned int *image) const |
| |
|
void | scale_response (float factor) |
| | scale the response of the decision tree
|
| |
|
float | MeasureAvgDepth () const |
| | estimate the number of layer evaluated (roughly)
|
| |
|
void | Discrete () |
| | transform a Probabilistic Decision Tree in a Discrete Decision Tree
|
| |
|
float | getAlpha () const |
| | MMMMH?
|
| |
template<class T, class DataType = int>
class DecisionTree< T, DataType >
A decision Tree. If has some sub nodes,uses th to split in them. If not have subnodes, report the category