38 #ifndef ROOT_TMVA_MethodLikelihood
39 #define ROOT_TMVA_MethodLikelihood
53 #ifndef ROOT_TMVA_MethodBase
164 #endif // MethodLikelihood_H
void DeclareCompatibilityOptions()
options that are used ONLY for the READER to ensure backward compatibility they are hence without any...
void WriteWeightsToStream(TFile &rf) const
write reference PDFs to ROOT file
virtual void WriteOptionsToStream(std::ostream &o, const TString &prefix) const
write options to stream
void Train()
create reference distributions (PDFs) from signal and background events: fill histograms and smooth t...
virtual ~MethodLikelihood()
destructor
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
std::vector< TH1 * > * fHistSig
void WriteMonitoringHistosToFile() const
write histograms and PDFs to file for monitoring purposes
#define ClassDef(name, id)
void ReadWeightsFromXML(void *wghtnode)
read weights from XML
TString * fInterpolateString
TString fBorderMethodString
std::vector< PDF * > * fPDFSig
std::vector< TH1 * > * fHistBgd_smooth
Double_t TransformLikelihoodOutput(Double_t ps, Double_t pb) const
returns transformed or non-transformed output
Int_t * fAverageEvtPerBinVarS
std::vector< TH1 * > * fHistSig_smooth
void GetHelpMessage() const
get help message text
MethodLikelihood(const TString &jobName, const TString &methodTitle, DataSetInfo &theData, const TString &theOption="", TDirectory *theTargetDir=0)
const Ranking * CreateRanking()
computes ranking of input variables
1-D histogram with a double per channel (see TH1 documentation)}
Bool_t fTransformLikelihoodOutput
virtual Bool_t HasAnalysisType(Types::EAnalysisType type, UInt_t numberClasses, UInt_t numberTargets)
FDA can handle classification with 2 classes.
void MakeClassSpecific(std::ostream &, const TString &) const
write specific classifier response
void DeclareOptions()
define the options (their key words) that can be set in the option string TransformOutput tran...
Describe directory structure in memory.
std::vector< PDF * > * fPDFBgd
void AddWeightsXMLTo(void *parent) const
write weights to XML
void Init()
default initialisation called by all constructors
void ReadWeightsFromStream(std::istream &istr)
read weight info from file nothing to do for this method
Abstract ClassifierFactory template that handles arbitrary types.
void MakeClassSpecificHeader(std::ostream &, const TString &="") const
write specific header of the classifier (mostly include files)
std::vector< TH1 * > * fHistBgd
Int_t * fAverageEvtPerBinVarB
Double_t GetMvaValue(Double_t *err=0, Double_t *errUpper=0)
returns the likelihood estimator for signal fill a new Likelihood branch into the testTree ...