5 #ifndef ROOT_TMVA_Classification 6 #define ROOT_TMVA_Classification 36 class ResultsClassification;
37 namespace Experimental {
45 std::map<UInt_t, std::vector<std::tuple<Float_t, Float_t, Bool_t>>>
fMvaTrain;
46 std::map<UInt_t, std::vector<std::tuple<Float_t, Float_t, Bool_t>>>
92 std::vector<ClassificationResult> &
GetResults();
114 #endif // ROOT_TMVA_Classification std::map< UInt_t, std::vector< std::tuple< Float_t, Float_t, Bool_t > > > fMvaTest
Bool_t IsCutsMethod(TMVA::MethodBase *method)
TString GetMethodOptions(TString methodname, TString methodtitle)
Types::EAnalysisType fAnalysisType
vector of objects with booked methods
T GetValue(const TString &key)
Bool_t HasMethodObject(TString methodname, TString methodtitle, Int_t &index)
class to storage options for the differents methods
Double_t GetROCIntegral(UInt_t iClass=0, TMVA::Types::ETreeType type=TMVA::Types::kTesting)
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
Virtual base Class for all MVA method.
MethodBase * GetMethod(TString methodname, TString methodtitle)
TString GetDataLoaderName()
std::vector< TString > fClassNames
std::map< UInt_t, std::vector< std::tuple< Float_t, Float_t, Bool_t > > > fMvaTrain
ClassificationResult & operator=(const ClassificationResult &r)
#define ClassDef(name, id)
virtual void TrainMethod(TString methodname, TString methodtitle)
Abstract base class for all high level ml algorithms, you can book ml methods like BDT...
std::vector< IMethod * > fIMethods
Classification(DataLoader *loader, TFile *file, TString options)
virtual void TestMethod(TString methodname, TString methodtitle)
Double_t GetROCIntegral(TString methodname, TString methodtitle, UInt_t iClass=0)
TMVA::ROCCurve * GetROC(TMVA::MethodBase *method, UInt_t iClass=0, TMVA::Types::ETreeType type=TMVA::Types::kTesting)
Mother of all ROOT objects.
Bool_t IsMethod(TString methodname, TString methodtitle)
Abstract ClassifierFactory template that handles arbitrary types.
TGraph * GetROCGraph(UInt_t iClass=0, TMVA::Types::ETreeType type=TMVA::Types::kTesting)
A Graph is a graphics object made of two arrays X and Y with npoints each.
std::vector< ClassificationResult > & GetResults()
virtual void Evaluate()
Virtual method to be implemented with your algorithm.
std::vector< ClassificationResult > fResults
const TString GetMethodTitle() const
const TString GetMethodName() const
ROCCurve * GetROC(UInt_t iClass=0, TMVA::Types::ETreeType type=TMVA::Types::kTesting)