#include <Forest.h>
Public Member Functions | |
void | appendCorrection (std::vector< emtf::Event * > &eventsp, Int_t treenum) |
void | appendCorrection (emtf::Event *e, Int_t treenum) |
void | doRegression (Int_t nodeLimit, Int_t treeLimit, double learningRate, L1TLossFunction *l, const char *savetreesdirectory, bool saveTrees) |
void | doStochasticRegression (Int_t nodeLimit, Int_t treeLimit, double learningRate, double fraction, L1TLossFunction *l) |
void | generate (Int_t numTrainEvents, Int_t numTestEvents, double sigma) |
std::vector< emtf::Event * > | getTrainingEvents () |
emtf::Tree * | getTree (unsigned int i) |
L1TForest () | |
L1TForest (std::vector< emtf::Event * > &trainingEvents) | |
void | listEvents (std::vector< std::vector< emtf::Event * > > &e) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! More... | |
void | loadL1TForestFromXML (const char *directory, unsigned int numTrees) |
void | predictEvent (emtf::Event *e, unsigned int trees) |
void | predictEvents (std::vector< emtf::Event * > &eventsp, unsigned int trees) |
void | prepareRandomSubsample (double fraction) |
void | rankVariables (std::vector< int > &rank) |
void | saveSplitValues (const char *savefilename) |
void | setTrainingEvents (std::vector< emtf::Event * > &trainingEvents) |
unsigned int | size () |
void | sortEventVectors (std::vector< std::vector< emtf::Event * > > &e) |
void | updateEvents (emtf::Tree *tree) |
void | updateRegTargets (emtf::Tree *tree, double learningRate, L1TLossFunction *l) |
~L1TForest () | |
Private Attributes | |
std::vector< std::vector < emtf::Event * > > | events |
std::vector< std::vector < emtf::Event * > > | subSample |
std::vector< emtf::Tree * > | trees |
L1TForest::L1TForest | ( | std::vector< emtf::Event * > & | trainingEvents | ) |
void L1TForest::appendCorrection | ( | std::vector< emtf::Event * > & | eventsp, |
Int_t | treenum | ||
) |
void L1TForest::appendCorrection | ( | emtf::Event * | e, |
Int_t | treenum | ||
) |
void L1TForest::doRegression | ( | Int_t | nodeLimit, |
Int_t | treeLimit, | ||
double | learningRate, | ||
L1TLossFunction * | l, | ||
const char * | savetreesdirectory, | ||
bool | saveTrees | ||
) |
void L1TForest::doStochasticRegression | ( | Int_t | nodeLimit, |
Int_t | treeLimit, | ||
double | learningRate, | ||
double | fraction, | ||
L1TLossFunction * | l | ||
) |
void L1TForest::generate | ( | Int_t | numTrainEvents, |
Int_t | numTestEvents, | ||
double | sigma | ||
) |
emtf::Tree * L1TForest::getTree | ( | unsigned int | i | ) |
void L1TForest::listEvents | ( | std::vector< std::vector< emtf::Event * > > & | e | ) |
void L1TForest::loadL1TForestFromXML | ( | const char * | directory, |
unsigned int | numTrees | ||
) |
void L1TForest::predictEvent | ( | emtf::Event * | e, |
unsigned int | trees | ||
) |
void L1TForest::predictEvents | ( | std::vector< emtf::Event * > & | eventsp, |
unsigned int | trees | ||
) |
Definition at line 413 of file Forest.cc.
Referenced by CalculatePt_FullPrecision().
void L1TForest::rankVariables | ( | std::vector< int > & | rank | ) |
void L1TForest::saveSplitValues | ( | const char * | savefilename | ) |
void L1TForest::setTrainingEvents | ( | std::vector< emtf::Event * > & | trainingEvents | ) |
void L1TForest::sortEventVectors | ( | std::vector< std::vector< emtf::Event * > > & | e | ) |
void L1TForest::updateEvents | ( | emtf::Tree * | tree | ) |
void L1TForest::updateRegTargets | ( | emtf::Tree * | tree, |
double | learningRate, | ||
L1TLossFunction * | l | ||
) |
|
private |
Definition at line 58 of file Forest.h.
Referenced by eventsfwlite.Events::__getattr__(), and eventsfwlite.Events::__init__().
|
private |
|
private |