#include <WeightedPattern.h>
Inherits Pattern< Descriptor >.
|
|
| WeightedPattern (const Pattern< Descriptor > &src) |
| |
|
| WeightedPattern (const Descriptor &des, int cat) |
| |
| float | GetWeightedCategory () const |
| |
| bool | correct () const |
| |
|
| Pattern (const Descriptor &d, int cat) |
| |
|
|
double | d |
| | Current weight associated to this pattern.
|
| |
|
int | test |
| | Result on the last evaluate (-1,0,1) of Weak Classifier (binary problem)
|
| |
|
int | category |
| | Pattern category (0..k-1 for multiclass problem, or -1|+1 for binary problem)
|
| |
|
float | weight |
| | weight associated to this pattern
|
| |
template<class Descriptor>
struct WeightedPattern< Descriptor >
Extend Pattern with a weight. All information related to input pattern used for AdaBoost training. contains both static information and dynamic information. Extend a pattern with data required by AdaBoost or similiar algorithm
- See also
- Pattern
template<class Descriptor >
test if last weak classifier, classifies correctly this pattern
- Note
- abstension not works
template<class Descriptor >
return weighted category (overriding unweighted one) [Binary Problem] [AdaBoost]
The documentation for this struct was generated from the following file: