virtual | ~RuleFitAPI() |
void | CheckRFWorkDir() |
static TClass* | Class() |
const TString | GetRFWorkDir() const |
void | HowtoSetupRF() |
virtual TClass* | IsA() const |
Bool_t | ReadModelSum() |
TMVA::RuleFitAPI | RuleFitAPI(const TMVA::MethodRuleFit* rfbase, TMVA::RuleFit* rulefit, TMVA::EMsgType minType) |
void | SetRFWorkDir(const char* wdir) |
virtual void | ShowMembers(TMemberInspector& insp, char* parent) |
virtual void | Streamer(TBuffer& b) |
void | StreamerNVirtual(TBuffer& b) |
void | TestRuleFit() |
void | TrainRuleFit() |
void | VarImp() |
void | WelcomeMessage() |
TMVA::RuleFitAPI | RuleFitAPI() |
enum ERFMode { | kRfRegress | |
kRfClass | ||
}; | ||
enum EModel { | kRfLinear | |
kRfRules | ||
kRfBoth | ||
}; | ||
enum ERFProgram { | kRfTrain | |
kRfPredict | ||
kRfVarimp | ||
}; |
TMVA::MsgLogger | fLogger | message logger |
const TMVA::MethodRuleFit* | fMethodRuleFit | parent method - set in constructor |
TString | fModelType | model type string |
TMVA::RuleFitAPI::IntParms | fRFIntParms | integer parameters |
vector<int> | fRFLx | variable selector |
TMVA::RuleFitAPI::ERFProgram | fRFProgram | what to run |
TMVA::RuleFitAPI::RealParms | fRFRealParms | real parameters |
vector<Float_t> | fRFVarImp | variable importances |
vector<Int_t> | fRFVarImpInd | variable index |
TString | fRFWorkDir | working directory |
vector<Float_t> | fRFYhat | score results from test sample |
TMVA::RuleFit* | fRuleFit | non const ptr to RuleFit class in MethodRuleFit |
standard constructor
check if the rulefit work dir is properly setup. it aborts (kFATAL) if not. Check existance of directory
Save input variable mask If the lx vector size is not the same as inputVars, resize it and fill it with 1 NOTE: Always set all to 1 if (fRFLx.size() != m_inputVars->size()) {