40 class StatDialogBDTReg {
42 RQ_OBJECT(
"StatDialogBDTReg")
46 StatDialogBDTReg(TString dataset, const TGWindow* p, TString wfile,
47 TString methName = "BDT", Int_t itree = 0 );
48 virtual ~StatDialogBDTReg() {
49 TMVA::DecisionTreeNode::fgIsTraining=
false;
53 if(gROOT->GetListOfCanvases()->FindObject(fCanvas))
58 void DrawTree( Int_t itree );
60 void RaiseDialog() {
if (fMain) { fMain->RaiseWindow(); fMain->Layout(); fMain->MapWindow(); } }
70 TGNumberEntry* fInput;
72 TGHorizontalFrame* fButtons;
73 TGTextButton* fDrawButton;
74 TGTextButton* fCloseButton;
76 void UpdateCanvases();
79 TMVA::DecisionTree* ReadTree( TString * &vars, Int_t itree );
80 void DrawNode( TMVA::DecisionTreeNode *n,
81 Double_t x, Double_t y, Double_t xscale, Double_t yscale, TString* vars );
90 static void Delete() {
if (fThis != 0) {
delete fThis; fThis = 0; } }
99 static StatDialogBDTReg* fThis;
105 extern std::vector<TControlBar*> BDTReg_Global__cbar;
108 void BDT_Reg(TString dataset,
const TString& fin =
"TMVAReg.root" );
109 void BDTReg_DeleteTBar(
int i);
111 void BDT_Reg(TString dataset, Int_t itree, TString wfile =
"", TString methName =
"BDT", Bool_t useTMVAStyle = kTRUE );