33#ifndef ROOT_TMVA_MethodHMatrix
34#define ROOT_TMVA_MethodHMatrix
69 void Train()
override;
112 void Init()
override;
bool Bool_t
Boolean (0=false, 1=true) (bool)
double Double_t
Double 8 bytes.
#define ClassDefOverride(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
Class that contains all the data information.
Virtual base Class for all MVA method.
void ReadWeightsFromStream(std::istream &) override=0
H-Matrix method, which is implemented as a simple comparison of chi-squared estimators for signal and...
void Train() override
computes H-matrices for signal and background samples
void GetHelpMessage() const override
get help message text
void ReadWeightsFromXML(void *wghtnode) override
read weights from XML file
virtual ~MethodHMatrix()
destructor
void AddWeightsXMLTo(void *parent) const override
create XML description for HMatrix classification
void ReadWeightsFromStream(std::istream &istr) override
read variable names and min/max NOTE: the latter values are mandatory for the normalisation in the re...
Bool_t HasAnalysisType(Types::EAnalysisType type, UInt_t numberClasses, UInt_t numberTargets) override
FDA can handle classification with 2 classes and regression with one regression-target.
MethodHMatrix(const TString &jobName, const TString &methodTitle, DataSetInfo &theData, const TString &theOption="")
standard constructor for the H-Matrix method
TMatrixD * fInvHMatrixS
inverse H-matrix (signal)
void ComputeCovariance(Bool_t, TMatrixD *)
compute covariance matrix
Double_t GetMvaValue(Double_t *err=nullptr, Double_t *errUpper=nullptr) override
returns the H-matrix signal estimator
void DeclareOptions() override
MethodHMatrix options: none (apart from those implemented in MethodBase)
void Init() override
default initialization called by all constructors
Double_t GetChi2(Types::ESBType)
compute chi2-estimator for event according to type (signal/background)
void MakeClassSpecific(std::ostream &, const TString &) const override
write Fisher-specific classifier response
const Ranking * CreateRanking() override
TVectorD * fVecMeanS
vector of mean values (signal)
void ProcessOptions() override
process user options
TVectorD * fVecMeanB
vector of mean values (background)
TMatrixD * fInvHMatrixB
inverse H-matrix (background)
Ranking for variables in method (implementation)
create variable transformations