|
X-Boost
2.3.8
|
#include <Pattern.h>
Inherits Descriptor.
Inherited by WeightedPattern< Descriptor >.
Public Types | |
| typedef Descriptor | DataType |
| Data Type. | |
Public Member Functions | |
| Pattern (const Descriptor &d, int cat) | |
Public Attributes | |
| int | category |
| Pattern category (0..k-1 for multiclass problem, or -1|+1 for binary problem) | |
| float | weight |
| weight associated to this pattern | |
a Pattern object used in training. Pattern extend Descriptor (Descriptor or Precomputed data) with the category identifier. The Descriptor contains all "variable" data associated to the pattern.
This class is normally used for load pattern before the training (or used inside Decision Tree when weight patterns are not required). Un pattern e' normalmente l'oggetto che viene caricato da File.
| Descriptor | a Descriptor (for example IntegralImageData object) |
1.8.7