#include <SepPlanExplore.hh>

Public Member Functions | |
| virtual float | getConf (const std::vector< float > &s) |
| virtual SepPlanExplore * | getCopy () |
| void | initModels () |
| SepPlanExplore (int id, int modelType, int predType, int nModels, int trainMode, int trainFreq, float featPct, float expPct, float treeThreshold, bool stoch, float featRange, Random rng) | |
| SepPlanExplore (const SepPlanExplore &) | |
| virtual void | testInstance (const std::vector< float > &input, std::map< float, float > *retval) |
| virtual bool | trainInstance (classPair &instance) |
| virtual bool | trainInstances (std::vector< classPair > &instances) |
| ~SepPlanExplore () | |
Public Attributes | |
| bool | SPEDEBUG |
Private Attributes | |
| Classifier * | expModel |
| const float | expPct |
| const float | featPct |
| const float | featRange |
| const int | freq |
| const int | id |
| const int | mode |
| const int | modelType |
| const int | nModels |
| Classifier * | planModel |
| const int | predType |
| Random | rng |
| const bool | stoch |
| const float | treeThresh |
C4.5 decision stump class
Definition at line 18 of file SepPlanExplore.hh.
| SepPlanExplore::SepPlanExplore | ( | int | id, |
| int | modelType, | ||
| int | predType, | ||
| int | nModels, | ||
| int | trainMode, | ||
| int | trainFreq, | ||
| float | featPct, | ||
| float | expPct, | ||
| float | treeThreshold, | ||
| bool | stoch, | ||
| float | featRange, | ||
| Random | rng | ||
| ) |
Definition at line 5 of file SepPlanExplore.cc.
| SepPlanExplore::SepPlanExplore | ( | const SepPlanExplore & | spe | ) |
Definition at line 28 of file SepPlanExplore.cc.
Definition at line 47 of file SepPlanExplore.cc.
| float SepPlanExplore::getConf | ( | const std::vector< float > & | s | ) | [virtual] |
Implements Classifier.
Definition at line 91 of file SepPlanExplore.cc.
| SepPlanExplore * SepPlanExplore::getCopy | ( | ) | [virtual] |
Implements Classifier.
Definition at line 42 of file SepPlanExplore.cc.
| void SepPlanExplore::initModels | ( | ) |
Definition at line 101 of file SepPlanExplore.cc.
| void SepPlanExplore::testInstance | ( | const std::vector< float > & | input, |
| std::map< float, float > * | retval | ||
| ) | [virtual] |
Implements Classifier.
Definition at line 79 of file SepPlanExplore.cc.
| bool SepPlanExplore::trainInstance | ( | classPair & | instance | ) | [virtual] |
Implements Classifier.
Definition at line 67 of file SepPlanExplore.cc.
| bool SepPlanExplore::trainInstances | ( | std::vector< classPair > & | instances | ) | [virtual] |
Implements Classifier.
Definition at line 53 of file SepPlanExplore.cc.
Classifier* SepPlanExplore::expModel [private] |
Definition at line 59 of file SepPlanExplore.hh.
const float SepPlanExplore::expPct [private] |
Definition at line 52 of file SepPlanExplore.hh.
const float SepPlanExplore::featPct [private] |
Definition at line 51 of file SepPlanExplore.hh.
const float SepPlanExplore::featRange [private] |
Definition at line 55 of file SepPlanExplore.hh.
const int SepPlanExplore::freq [private] |
Definition at line 50 of file SepPlanExplore.hh.
const int SepPlanExplore::id [private] |
Definition at line 45 of file SepPlanExplore.hh.
const int SepPlanExplore::mode [private] |
Definition at line 49 of file SepPlanExplore.hh.
const int SepPlanExplore::modelType [private] |
Definition at line 46 of file SepPlanExplore.hh.
const int SepPlanExplore::nModels [private] |
Definition at line 48 of file SepPlanExplore.hh.
Classifier* SepPlanExplore::planModel [private] |
Definition at line 60 of file SepPlanExplore.hh.
const int SepPlanExplore::predType [private] |
Definition at line 47 of file SepPlanExplore.hh.
Random SepPlanExplore::rng [private] |
Definition at line 57 of file SepPlanExplore.hh.
Definition at line 41 of file SepPlanExplore.hh.
const bool SepPlanExplore::stoch [private] |
Definition at line 54 of file SepPlanExplore.hh.
const float SepPlanExplore::treeThresh [private] |
Definition at line 53 of file SepPlanExplore.hh.