15 Forest(std::vector<Event*>& trainingEvents, std::vector<Event*>&
testEvents);
31 void listEvents(std::vector< std::vector<Event*> >&
e);
33 void generate(Int_t numTrainEvents, Int_t numTestEvents, Double_t sigma);
39 const char* savetreesdirectory,
bool saveTrees);
53 std::vector< std::vector<Event*> >
events;
void generate(Int_t numTrainEvents, Int_t numTestEvents, Double_t sigma)
void prepareRandomSubsample(Double_t fraction)
std::vector< std::vector< Event * > > events
std::vector< Event * > getTestEvents()
std::vector< Event * > testEvents
void appendCorrection(std::vector< Event * > eventsp, Int_t treenum)
void predictEvents(std::vector< Event * > eventsp, unsigned int trees)
void loadForestFromXML(const char *directory, unsigned int numTrees)
std::vector< Double_t > rankVariables()
void updateEvents(Tree *tree)
void doStochasticRegression(Int_t nodeLimit, Int_t treeLimit, Double_t learningRate, Double_t fraction, LossFunction *l)
void sortEventVectors(std::vector< std::vector< Event * > > &e)
void updateRegTargets(Tree *tree, Double_t learningRate, LossFunction *l)
std::vector< Tree * > trees
std::vector< std::vector< Event * > > subSample
void listEvents(std::vector< std::vector< Event * > > &e)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
void setTrainingEvents(std::vector< Event * > &trainingEvents)
std::vector< Event * > getTrainingEvents()
void doRegression(Int_t nodeLimit, Int_t treeLimit, Double_t learningRate, LossFunction *l, const char *savetreesdirectory, bool saveTrees)
void setTestEvents(std::vector< Event * > &testingEvents)