24 while ((key = (
TKey*)next())) {
42 while ((key = (
TKey*)next())) {
71 std::cout <<
"--- Launch TMVA GUI to view input file: " << fName << std::endl;
79 std::cout <<
"==> Abort TMVAMultiClassGui, please verify filename" << std::endl;
85 cout <<
"==> Abort TMVAGui, please verify if dataset exist" << endl;
107 bar->
AddButton(
"Quit",
".q",
"Quit",
"button");
112 gROOT->SaveContext();
148 TString::Format(
"Plots all '%s'-transformed input variables (macro variablesMultiClass(...))", str->GetString().Data() ),
154 it.Reset(); ch =
'a';
163 TString::Format(
"Plots all correlation profiles between '%s'-transformed input variables (macro CorrGuiMultiClass(...))",
164 str->GetString().Data() ),
170 title =
TString::Format(
"(%i) Input Variable Linear Correlation Coefficients", ++
ic );
174 "Plots signal and background correlation summaries for all input variables (macro correlationsMultiClass.cxx)",
177 title =
TString::Format(
"(%ia) Classifier Output Distributions (test sample)", ++
ic );
181 "Plots the output of each classifier for the test data (macro mvas(...,0))",
184 title =
TString::Format(
"(%ib) Classifier Output Distributions (test and training samples superimposed)",
ic );
188 "Plots the output of each classifier for the test (histograms) and training (dots) data (macro mvas(...,3))",
214 title =
TString::Format(
"(%i) Classifier Backgr. Rej. vs Sig. Eff. (1-vs-rest ROC curves)", ++
ic);
217 "Plots background rejection vs signal efficiencies (macro efficienciesMulticlass.cxx) [\"ROC\" stands "
218 "for \"Receiver Operation Characteristics\"]",
228 title =
TString::Format(
"(%i) Classifier Backgr. Rej. vs Sig. Eff. (1-vs-1 ROC curves)", ++
ic);
231 "Plots background rejection vs signal efficiencies (macro efficienciesMulticlass.cxx) [\"ROC\" stands "
232 "for \"Receiver Operation Characteristics\"]",
270 "Plots the MLP weights (macro network.cxx)",
277 "Plots error estimator versus training epoch for training and test samples (macro annconvergencetest.cxx)",
284 "Plots the Decision Trees trained by BDT algorithms (macro BDT(itree,...))",
300 "Plot Foams (macro PlotFoams.cxx)",
310 cbar->AddSeparator();
315 cbar->SetTextColor(
"black");
326 std::cout <<
"=== Note: inactive buttons indicate that the corresponding classifiers were not trained ===" << std::endl;
329 gROOT->SaveContext();
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
static TList * TMVAMultiClassGui_keyContent
static std::vector< TString > TMVAMultiClassGui_inactiveButtons
R__EXTERN TStyle * gStyle
R__EXTERN TSystem * gSystem
virtual Int_t GetEntries() const
A Control Bar is a fully user configurable tool which provides fast access to frequently used operati...
void Show()
Show control bar.
void AddSeparator()
Add separator.
void SetButtonWidth(UInt_t width)
Sets the width in pixels for control bar button.
void AddButton(TControlBarButton *button)
Add button.
void SetTextColor(const char *colorName)
Sets text color for control bar buttons, e.g.:
TList * GetListOfKeys() const override
TDirectory * GetDirectory(const char *apath, Bool_t printError=false, const char *funcname="GetDirectory") override
Find a directory named "apath".
A ROOT file is an on-disk file, usually with extension .root, that stores objects in a file-system-li...
static TFile * Open(const char *name, Option_t *option="", const char *ftitle="", Int_t compress=ROOT::RCompressionSetting::EDefaults::kUseCompiledDefault, Int_t netopt=0)
Create / open a file.
void Close(Option_t *option="") override
Close a file.
Book space in a file, create I/O buffers, to fill them, (un)compress them.
TObject * At(Int_t idx) const override
Returns the object at position idx. Returns 0 if idx is out of range.
const char * GetName() const override
Returns name of object.
Collectable string class.
const char * Data() const
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
void SetScreenFactor(Float_t factor=1)
virtual const char * GetIncludePath()
Get the list of include path.
virtual void SetIncludePath(const char *includePath)
IncludePath should contain the list of compiler flags to indicate where to find user defined header f...
UInt_t GetListOfKeys(TList &keys, TString inherits, TDirectory *dir=nullptr)
void TMVAMultiClassGui(const char *fName="TMVAMulticlass.root", TString dataset="")
void MultiClassActionButton(TControlBar *cbar, const TString &title, const TString ¯o, const TString &comment, const TString &buttonType, TString requiredKey="")
TList * MultiClassGetKeyList(const TString &pattern)