Definition at line 46 of file BDT.C.
StatDialogBDT::StatDialogBDT | ( | const TGWindow * | p, | |
TString | wfile = "weights/TMVAClassification_BDT.weights.txt" , |
|||
TString | methName = "BDT" , |
|||
Int_t | itree = 0 | |||
) |
Definition at line 125 of file BDT.C.
References TGCompositeFrame::AddFrame(), TQObject::Connect(), fButtons, fCloseButton, fDrawButton, TMVA::DecisionTreeNode::fgIsTraining, fInput, fItree, fMain, fNtrees, Form(), fThis, TGCompositeFrame::GetDefaultSize(), GetNtrees(), kLHintsBottom, kLHintsLeft, kLHintsRight, kLHintsTop, kMainFrame, TGNumberFormat::kNELLimitMinMax, kVerticalFrame, TGCompositeFrame::MapSubwindows(), TGFrame::MapWindow(), p, TGFrame::Resize(), TGNumberEntry::SetLimits(), TGMainFrame::SetWindowName(), and TGMainFrame::SetWMPosition().
virtual StatDialogBDT::~StatDialogBDT | ( | ) | [inline, virtual] |
Definition at line 54 of file BDT.C.
References TGCompositeFrame::Cleanup(), TGMainFrame::CloseWindow(), fCanvas, TMVA::DecisionTreeNode::fgIsTraining, TCollection::FindObject(), fMain, fThis, TROOT::GetListOfCanvases(), and gROOT.
StatDialogBDT::StatDialogBDT | ( | const TGWindow * | p, | |
TString | wfile = "weights/TMVARegression_BDT.weights.xml" , |
|||
TString | methName = "BDT" , |
|||
Int_t | itree = 0 | |||
) |
virtual StatDialogBDT::~StatDialogBDT | ( | ) | [inline, virtual] |
Definition at line 54 of file BDT_Reg.C.
References TGCompositeFrame::Cleanup(), TGMainFrame::CloseWindow(), fCanvas, TMVA::DecisionTreeNode::fgIsTraining, TCollection::FindObject(), fMain, fThis, TROOT::GetListOfCanvases(), and gROOT.
void StatDialogBDT::DrawTree | ( | Int_t | itree | ) |
Definition at line 362 of file BDT.C.
References TPaveText::AddText(), TCanvas::Clear(), d, TString::Data(), depth, TPaveText::Draw(), TCanvas::Draw(), DrawNode(), fCanvas, fMethName, Form(), fWfile, TStyle::GetCanvasColor(), TColor::GetColor(), TROOT::GetStyle(), gROOT, TMVAGlob::imgconv(), kBkgColorF, kBkgColorT, kIntColorF, kIntColorT, kSigColorF, kSigColorT, ReadTree(), TPave::SetBorderSize(), TStyle::SetCanvasColor(), TAttFill::SetFillColor(), TAttFill::SetFillStyle(), TAttText::SetTextColor(), and TCanvas::Update().
Referenced by BDT(), BDT_Reg(), and UpdateCanvases().
void StatDialogBDT::RaiseDialog | ( | ) | [inline] |
Definition at line 66 of file BDT.C.
References fMain, TGCompositeFrame::Layout(), TGFrame::MapWindow(), and TGWindow::RaiseWindow().
void StatDialogBDT::UpdateCanvases | ( | ) | [private] |
TMVA::DecisionTree * StatDialogBDT::ReadTree | ( | TString *& | vars, | |
Int_t | itree | |||
) | [private] |
Definition at line 284 of file BDT.C.
References buffer, d, dummy, TString::EndsWith(), fNtrees, fWfile, TMVA::gTools(), i, line, and sprintf().
Referenced by DrawTree().
void StatDialogBDT::DrawNode | ( | TMVA::DecisionTreeNode * | n, | |
Double_t | x, | |||
Double_t | y, | |||
Double_t | xscale, | |||
Double_t | yscale, | |||
TString * | vars | |||
) | [private] |
Definition at line 234 of file BDT.C.
References buffer, Form(), kBkgColorF, kBkgColorT, kIntColorF, kIntColorT, kSigColorF, kSigColorT, n, NULL, sprintf(), and t.
Referenced by DrawTree().
void StatDialogBDT::GetNtrees | ( | ) | [private] |
Definition at line 187 of file BDT.C.
References dummy, TString::EndsWith(), fNtrees, fWfile, TMVA::gTools(), and nc.
Referenced by StatDialogBDT().
static void StatDialogBDT::Delete | ( | void | ) | [inline, static] |
void StatDialogBDT::SetItree | ( | ) |
void StatDialogBDT::Redraw | ( | ) |
void StatDialogBDT::DrawTree | ( | Int_t | itree | ) |
void StatDialogBDT::RaiseDialog | ( | ) | [inline] |
Definition at line 66 of file BDT_Reg.C.
References fMain, TGCompositeFrame::Layout(), TGFrame::MapWindow(), and TGWindow::RaiseWindow().
void StatDialogBDT::UpdateCanvases | ( | ) | [private] |
TMVA::DecisionTree* StatDialogBDT::ReadTree | ( | TString *& | vars, | |
Int_t | itree | |||
) | [private] |
void StatDialogBDT::DrawNode | ( | TMVA::DecisionTreeNode * | n, | |
Double_t | x, | |||
Double_t | y, | |||
Double_t | xscale, | |||
Double_t | yscale, | |||
TString * | vars | |||
) | [private] |
void StatDialogBDT::GetNtrees | ( | ) | [private] |
static void StatDialogBDT::Delete | ( | void | ) | [inline, static] |
void StatDialogBDT::SetItree | ( | ) |
void StatDialogBDT::Redraw | ( | ) |
void StatDialogBDT::Close | ( | ) |
TGMainFrame* StatDialogBDT::fMain [private] |
Definition at line 70 of file BDT.C.
Referenced by RaiseDialog(), StatDialogBDT(), and ~StatDialogBDT().
Int_t StatDialogBDT::fItree [private] |
Definition at line 71 of file BDT.C.
Referenced by SetItree(), StatDialogBDT(), and UpdateCanvases().
Int_t StatDialogBDT::fNtrees [private] |
TCanvas* StatDialogBDT::fCanvas [private] |
TGNumberEntry* StatDialogBDT::fInput [private] |
TGHorizontalFrame* StatDialogBDT::fButtons [private] |
TGTextButton* StatDialogBDT::fDrawButton [private] |
TGTextButton* StatDialogBDT::fCloseButton [private] |
TString StatDialogBDT::fWfile [private] |
TString StatDialogBDT::fMethName [private] |
StatDialogBDT * StatDialogBDT::fThis [static, private] |
Definition at line 104 of file BDT.C.
Referenced by Delete(), StatDialogBDT(), and ~StatDialogBDT().
TGMainFrame* StatDialogBDT::fMain [private] |
TCanvas* StatDialogBDT::fCanvas [private] |
TGNumberEntry* StatDialogBDT::fInput [private] |
TGHorizontalFrame* StatDialogBDT::fButtons [private] |
TGTextButton* StatDialogBDT::fDrawButton [private] |
TGTextButton* StatDialogBDT::fCloseButton [private] |
StatDialogBDT* StatDialogBDT::fThis [static, private] |