33#ifndef ROOT_TMVA_MethodHMatrix
34#define ROOT_TMVA_MethodHMatrix
69 void Train()
override;
112 void Init()
override;
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
bool Bool_t
Boolean (0=false, 1=true) (bool).
double Double_t
Double 8 bytes.
#define ClassDefOverride(name, id)
TMatrixT< Double_t > TMatrixD
TVectorT< Double_t > TVectorD
Class that contains all the data information.
MethodBase(const TString &jobName, Types::EMVA methodType, const TString &methodTitle, DataSetInfo &dsi, const TString &theOption="")
standard constructor
void ReadWeightsFromStream(std::istream &) override=0
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