123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- #ifndef DTBCLUSTERRANDOMINCLUDE
- #define DTBCLUSTERRANDOMINCLUDE
- #include "core/vector/VectorT.h"
- #include "core/vector/MatrixT.h"
- #include "core/basics/Config.h"
- #include "DecisionTreeBuilder.h"
- #include "vislearning/cbaselib/CachedExample.h"
- namespace OBJREC {
- class DTBClusterRandom : public DecisionTreeBuilder
- {
- protected:
- int max_depth;
- int min_examples;
- DecisionNode *buildRecursive ( const FeaturePool & fp,
- const Examples & examples,
- std::vector<int> & examples_selection,
- FullVector & distribution,
- int maxClassNo,
- int depth );
- public:
-
-
- DTBClusterRandom( const NICE::Config *conf, std::string section = "DTBClusterRandom" );
-
-
- virtual ~DTBClusterRandom();
-
- DecisionNode *build ( const FeaturePool & fp,
- const Examples & examples,
- int maxClassNo );
-
- };
- }
- #endif
|