This relates to another post where I didn’t receive a satisfactory answer.
I create the following file MVAAllUpdate.C (14.0 KB) containing the results of training training and multiple TMVA methods. When I then do TMVA::TMVAGui("AllMVA40K.root")
, the buttons labeled (10) Decision Trees (BDT)
and (11) Decision Tree Control Plots (BDT)
in the window titled “TMVA Plotting Macros for Classification” return the error
*** Error in macro "BDT.C": cannot find directory "Method_BDT" in file: AllMVA40K.root
Listing the contents of the file AllMVA40K.root, I get
TFile** AllMVA40K.root
TFile* AllMVA40K.root
TDirectoryFile* AllResults AllResults
KEY: TH2F CorrelationMatrixS;1 Correlation Matrix (signal)
KEY: TH2F CorrelationMatrixB;1 Correlation Matrix (background)
KEY: TDirectoryFile InputVariables_Id;1 InputVariables_Id
KEY: TDirectoryFile Method_hPolIdealFisher;1 Directory for all Fisher methods
KEY: TDirectoryFile Method_vPolIdealFisher;1 Directory for all Fisher methods
KEY: TDirectoryFile Method_hPolFisher;1 Directory for all Fisher methods
KEY: TDirectoryFile Method_vPolFisher;1 Directory for all Fisher methods
KEY: TDirectoryFile Method_hPolBDT;1 Directory for all BDT methods
KEY: TDirectoryFile Method_vPolBDT;1 Directory for all BDT methods
KEY: TDirectoryFile Method_hPolCorrBDT;1 Directory for all BDT methods
KEY: TDirectoryFile Method_vPolCorrBDT;1 Directory for all BDT methods
KEY: TTree TestTree;2 TestTree
KEY: TTree TestTree;1 TestTree
KEY: TTree TrainTree;2 TrainTree
KEY: TTree TrainTree;1 TrainTree
KEY: TDirectoryFile AllResults;1 AllResults
I think this problem would be resolved if all of the BDT methods were saved under a single Method_BDT
TDirectoryFile. For example, rather than having directory paths Method_hPolBDT/hPolBDT
and Method_vPolBDT/vPolBDT
, how would I go about instead getting Method_BDT/hPolBDT
and Method_BDT/vPolBDT
?