123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- #ifndef DECISIONTREEBUILDERINCLUDE
- #define DECISIONTREEBUILDERINCLUDE
- #include <map>
- #include <set>
- #include "core/basics/triplet.h"
- #include "vislearning/cbaselib/FeaturePool.h"
- #include "vislearning/cbaselib/CachedExample.h"
- #include "core/vector/VectorT.h"
- #include "core/vector/MatrixT.h"
- #include "DecisionNode.h"
- #include "DecisionTree.h"
- namespace OBJREC {
- class DecisionTreeBuilder
- {
- protected:
- public:
-
-
- DecisionTreeBuilder();
-
-
- virtual ~DecisionTreeBuilder();
-
- virtual DecisionNode *build ( const FeaturePool & fp,
- const Examples & examples, int maxClassNo ) = 0;
- void build ( DecisionTree & tree, const FeaturePool & fp,
- const Examples & examples, int maxClassNo );
- };
- }
- #endif
|