38 #ifndef ROOT_TMVA_MethodLikelihood 39 #define ROOT_TMVA_MethodLikelihood 53 #ifndef ROOT_TMVA_MethodBase 162 #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
#define ClassDef(name, id)
void MakeClassSpecific(std::ostream &, const TString &) const
write specific classifier response
void ReadWeightsFromXML(void *wghtnode)
read weights from XML
TString * fInterpolateString
TString fBorderMethodString
std::vector< PDF * > * fPDFSig
std::vector< TH1 * > * fHistBgd_smooth
Int_t * fAverageEvtPerBinVarS
std::vector< TH1 * > * fHistSig_smooth
const Ranking * CreateRanking()
computes ranking of input variables
void WriteMonitoringHistosToFile() const
write histograms and PDFs to file for monitoring purposes
tomato 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 DeclareOptions()
define the options (their key words) that can be set in the option string TransformOutput <bool> tran...
std::vector< PDF * > * fPDFBgd
void MakeClassSpecificHeader(std::ostream &, const TString &="") const
write specific header of the classifier (mostly include files)
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.
Double_t TransformLikelihoodOutput(Double_t ps, Double_t pb) const
returns transformed or non-transformed output
void GetHelpMessage() const
get help message text
std::vector< TH1 * > * fHistBgd
MethodLikelihood(const TString &jobName, const TString &methodTitle, DataSetInfo &theData, const TString &theOption="")
standard constructor
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 ...
void AddWeightsXMLTo(void *parent) const
write weights to XML