15 Forest(std::vector<Event*>& trainingEvents);
32 void listEvents(std::vector< std::vector<Event*> >&
e);
34 void generate(Int_t numTrainEvents, Int_t numTestEvents,
double sigma);
40 const char* savetreesdirectory,
bool saveTrees);
58 std::vector< std::vector<Event*> >
events;
void doRegression(Int_t nodeLimit, Int_t treeLimit, double learningRate, LossFunction *l, const char *savetreesdirectory, bool saveTrees)
std::vector< std::vector< Event * > > events
void saveSplitValues(const char *savefilename)
void predictEvents(std::vector< Event * > &eventsp, unsigned int trees)
void predictEvent(Event *e, unsigned int trees)
Tree * getTree(unsigned int i)
void doStochasticRegression(Int_t nodeLimit, Int_t treeLimit, double learningRate, double fraction, LossFunction *l)
void loadForestFromXML(const char *directory, unsigned int numTrees)
void generate(Int_t numTrainEvents, Int_t numTestEvents, double sigma)
void updateEvents(Tree *tree)
void sortEventVectors(std::vector< std::vector< Event * > > &e)
void updateRegTargets(Tree *tree, double learningRate, LossFunction *l)
std::vector< Tree * > trees
std::vector< std::vector< Event * > > subSample
void listEvents(std::vector< std::vector< Event * > > &e)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
void appendCorrection(std::vector< Event * > &eventsp, Int_t treenum)
void rankVariables(std::vector< int > &rank)
void setTrainingEvents(std::vector< Event * > &trainingEvents)
std::vector< Event * > getTrainingEvents()
void prepareRandomSubsample(double fraction)