Definition at line 50 of file RuleFitAPI.h.
|
void | FillIntParmsDef () |
| set default int params More...
|
|
void | FillRealParmsDef () |
| set default real params More...
|
|
TString | GetRFName (TString name) |
|
void | ImportSetup () |
| import setup from MethodRuleFit More...
|
|
void | InitRuleFit () |
| default initialisation SetRFWorkDir("./rulefit"); More...
|
|
Bool_t | OpenRFile (TString name, std::ofstream &f) |
|
Bool_t | OpenRFile (TString name, std::ifstream &f) |
|
Int_t | ReadFloat (std::ifstream &f, Float_t *v, Int_t n=1) const |
|
Int_t | ReadInt (std::ifstream &f, Int_t *v, Int_t n=1) const |
|
Bool_t | ReadIntParms () |
|
Bool_t | ReadLx () |
|
Bool_t | ReadProgram () |
|
Bool_t | ReadRealParms () |
|
Bool_t | ReadRealVarImp () |
|
Bool_t | ReadRfOut () |
|
Bool_t | ReadRfStatus () |
|
Bool_t | ReadRuleFitMod () |
|
Bool_t | ReadRuleFitSum () |
|
Bool_t | ReadTrainW () |
|
Bool_t | ReadTrainX () |
|
Bool_t | ReadTrainY () |
|
Bool_t | ReadVarImp () |
| read variable importance More...
|
|
Bool_t | ReadVarNames () |
|
Bool_t | ReadYhat () |
| read the score More...
|
|
Int_t | RunRuleFit () |
| execute rf_go.exe More...
|
|
void | SetRFPredict () |
|
void | SetRFTrain () |
|
void | SetRFVarimp () |
|
void | SetTestParms () |
| set the test params More...
|
|
void | SetTrainParms () |
| set the training parameters More...
|
|
Bool_t | WriteAll () |
| write all files read by rf_go.exe More...
|
|
Bool_t | WriteFloat (std::ofstream &f, const Float_t *v, Int_t n=1) |
|
Bool_t | WriteInt (std::ofstream &f, const Int_t *v, Int_t n=1) |
|
Bool_t | WriteIntParms () |
| write int params file More...
|
|
Bool_t | WriteLx () |
| Save input variable mask. More...
|
|
Bool_t | WriteProgram () |
| write command to rf_go.exe More...
|
|
Bool_t | WriteRealParms () |
| write int params file More...
|
|
Bool_t | WriteRealVarImp () |
| write the minimum importance to be considered More...
|
|
Bool_t | WriteRfOut () |
| written by rf_go.exe; write rulefit output (rfout) More...
|
|
Bool_t | WriteRfStatus () |
| written by rf_go.exe; write rulefit status More...
|
|
Bool_t | WriteRuleFitMod () |
| written by rf_go.exe (NOTE:Format unknown!) More...
|
|
Bool_t | WriteRuleFitSum () |
| written by rf_go.exe (NOTE: format unknown!) More...
|
|
Bool_t | WriteTest () |
| Write test data. More...
|
|
Bool_t | WriteTrain () |
| write training data, columnwise More...
|
|
Bool_t | WriteVarImp () |
|
Bool_t | WriteVarNames () |
| write variable names, ascii More...
|
|
Bool_t | WriteYhat () |
| written by rf_go.exe More...
|
|
#include <TMVA/RuleFitAPI.h>
Enumerator |
---|
kRfLinear |
|
kRfRules |
|
kRfBoth |
|
Definition at line 84 of file RuleFitAPI.h.
Enumerator |
---|
kRfRegress |
|
kRfClass |
|
Definition at line 83 of file RuleFitAPI.h.
Enumerator |
---|
kRfTrain |
|
kRfPredict |
|
kRfVarimp |
|
Definition at line 85 of file RuleFitAPI.h.
TMVA::RuleFitAPI::~RuleFitAPI |
( |
| ) |
|
|
virtual |
TMVA::RuleFitAPI::RuleFitAPI |
( |
| ) |
|
|
private |
void TMVA::RuleFitAPI::CheckRFWorkDir |
( |
| ) |
|
check if the rulefit work dir is properly setup.
it aborts (kFATAL) if not.
Check existance of directory
Definition at line 168 of file RuleFitAPI.cxx.
void TMVA::RuleFitAPI::FillIntParmsDef |
( |
| ) |
|
|
protected |
void TMVA::RuleFitAPI::FillRealParmsDef |
( |
| ) |
|
|
protected |
const TString TMVA::RuleFitAPI::GetRFWorkDir |
( |
| ) |
const |
|
inline |
void TMVA::RuleFitAPI::HowtoSetupRF |
( |
| ) |
|
void TMVA::RuleFitAPI::ImportSetup |
( |
| ) |
|
|
protected |
void TMVA::RuleFitAPI::InitRuleFit |
( |
| ) |
|
|
protected |
default initialisation SetRFWorkDir("./rulefit");
Definition at line 124 of file RuleFitAPI.cxx.
Bool_t TMVA::RuleFitAPI::OpenRFile |
( |
TString |
name, |
|
|
std::ofstream & |
f |
|
) |
| |
|
inlineprotected |
Bool_t TMVA::RuleFitAPI::OpenRFile |
( |
TString |
name, |
|
|
std::ifstream & |
f |
|
) |
| |
|
inlineprotected |
Int_t TMVA::RuleFitAPI::ReadFloat |
( |
std::ifstream & |
f, |
|
|
Float_t * |
v, |
|
|
Int_t |
n = 1 |
|
) |
| const |
|
inlineprotected |
Int_t TMVA::RuleFitAPI::ReadInt |
( |
std::ifstream & |
f, |
|
|
Int_t * |
v, |
|
|
Int_t |
n = 1 |
|
) |
| const |
|
inlineprotected |
Bool_t TMVA::RuleFitAPI::ReadIntParms |
( |
| ) |
|
|
protected |
Bool_t TMVA::RuleFitAPI::ReadLx |
( |
| ) |
|
|
protected |
Bool_t TMVA::RuleFitAPI::ReadModelSum |
( |
| ) |
|
Bool_t TMVA::RuleFitAPI::ReadProgram |
( |
| ) |
|
|
protected |
Bool_t TMVA::RuleFitAPI::ReadRealParms |
( |
| ) |
|
|
protected |
Bool_t TMVA::RuleFitAPI::ReadRealVarImp |
( |
| ) |
|
|
protected |
Bool_t TMVA::RuleFitAPI::ReadRfOut |
( |
| ) |
|
|
protected |
Bool_t TMVA::RuleFitAPI::ReadRfStatus |
( |
| ) |
|
|
protected |
Bool_t TMVA::RuleFitAPI::ReadRuleFitMod |
( |
| ) |
|
|
protected |
Bool_t TMVA::RuleFitAPI::ReadRuleFitSum |
( |
| ) |
|
|
protected |
Bool_t TMVA::RuleFitAPI::ReadTrainW |
( |
| ) |
|
|
protected |
Bool_t TMVA::RuleFitAPI::ReadTrainX |
( |
| ) |
|
|
protected |
Bool_t TMVA::RuleFitAPI::ReadTrainY |
( |
| ) |
|
|
protected |
Bool_t TMVA::RuleFitAPI::ReadVarImp |
( |
| ) |
|
|
protected |
Bool_t TMVA::RuleFitAPI::ReadVarNames |
( |
| ) |
|
|
protected |
Bool_t TMVA::RuleFitAPI::ReadYhat |
( |
| ) |
|
|
protected |
Int_t TMVA::RuleFitAPI::RunRuleFit |
( |
| ) |
|
|
protected |
void TMVA::RuleFitAPI::SetRFPredict |
( |
| ) |
|
|
inlineprotected |
void TMVA::RuleFitAPI::SetRFTrain |
( |
| ) |
|
|
inlineprotected |
void TMVA::RuleFitAPI::SetRFVarimp |
( |
| ) |
|
|
inlineprotected |
void TMVA::RuleFitAPI::SetRFWorkDir |
( |
const char * |
wdir | ) |
|
set the directory containing rf_go.exe.
Definition at line 157 of file RuleFitAPI.cxx.
void TMVA::RuleFitAPI::SetTestParms |
( |
| ) |
|
|
protected |
void TMVA::RuleFitAPI::SetTrainParms |
( |
| ) |
|
|
protected |
void TMVA::RuleFitAPI::TestRuleFit |
( |
| ) |
|
|
inline |
void TMVA::RuleFitAPI::TrainRuleFit |
( |
| ) |
|
|
inline |
void TMVA::RuleFitAPI::VarImp |
( |
| ) |
|
|
inline |
void TMVA::RuleFitAPI::WelcomeMessage |
( |
| ) |
|
Bool_t TMVA::RuleFitAPI::WriteAll |
( |
| ) |
|
|
protected |
Bool_t TMVA::RuleFitAPI::WriteInt |
( |
std::ofstream & |
f, |
|
|
const Int_t * |
v, |
|
|
Int_t |
n = 1 |
|
) |
| |
|
inlineprotected |
Bool_t TMVA::RuleFitAPI::WriteIntParms |
( |
| ) |
|
|
protected |
Bool_t TMVA::RuleFitAPI::WriteLx |
( |
| ) |
|
|
protected |
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()) {
Definition at line 293 of file RuleFitAPI.cxx.
Bool_t TMVA::RuleFitAPI::WriteProgram |
( |
| ) |
|
|
protected |
Bool_t TMVA::RuleFitAPI::WriteRealParms |
( |
| ) |
|
|
protected |
Bool_t TMVA::RuleFitAPI::WriteRealVarImp |
( |
| ) |
|
|
protected |
write the minimum importance to be considered
Definition at line 335 of file RuleFitAPI.cxx.
Bool_t TMVA::RuleFitAPI::WriteRfOut |
( |
| ) |
|
|
protected |
written by rf_go.exe; write rulefit output (rfout)
Definition at line 349 of file RuleFitAPI.cxx.
Bool_t TMVA::RuleFitAPI::WriteRfStatus |
( |
| ) |
|
|
protected |
written by rf_go.exe; write rulefit status
Definition at line 358 of file RuleFitAPI.cxx.
Bool_t TMVA::RuleFitAPI::WriteRuleFitMod |
( |
| ) |
|
|
protected |
written by rf_go.exe (NOTE:Format unknown!)
Definition at line 367 of file RuleFitAPI.cxx.
Bool_t TMVA::RuleFitAPI::WriteRuleFitSum |
( |
| ) |
|
|
protected |
written by rf_go.exe (NOTE: format unknown!)
Definition at line 376 of file RuleFitAPI.cxx.
Bool_t TMVA::RuleFitAPI::WriteTest |
( |
| ) |
|
|
protected |
Bool_t TMVA::RuleFitAPI::WriteTrain |
( |
| ) |
|
|
protected |
Bool_t TMVA::RuleFitAPI::WriteVarImp |
( |
| ) |
|
|
protected |
Bool_t TMVA::RuleFitAPI::WriteVarNames |
( |
| ) |
|
|
protected |
Bool_t TMVA::RuleFitAPI::WriteYhat |
( |
| ) |
|
|
protected |
TString TMVA::RuleFitAPI::fModelType |
|
private |
std::vector<int> TMVA::RuleFitAPI::fRFLx |
|
private |
std::vector<Float_t> TMVA::RuleFitAPI::fRFVarImp |
|
private |
std::vector<Int_t> TMVA::RuleFitAPI::fRFVarImpInd |
|
private |
TString TMVA::RuleFitAPI::fRFWorkDir |
|
private |
std::vector<Float_t> TMVA::RuleFitAPI::fRFYhat |
|
private |
RuleFit* TMVA::RuleFitAPI::fRuleFit |
|
private |
The documentation for this class was generated from the following files: