#include <MethodHMatrix.h>
Inheritance diagram for TMVA::MethodHMatrix:
Definition at line 62 of file MethodHMatrix.h.
TMVA::MethodHMatrix::MethodHMatrix | ( | const TString & | jobName, | |
const TString & | methodTitle, | |||
DataSetInfo & | theData, | |||
const TString & | theOption = "" , |
|||
TDirectory * | theTargetDir = 0 | |||
) |
TMVA::MethodHMatrix::MethodHMatrix | ( | DataSetInfo & | theData, | |
const TString & | theWeightFile, | |||
TDirectory * | theTargetDir = NULL | |||
) |
Definition at line 78 of file MethodHMatrix.cxx.
TMVA::MethodHMatrix::~MethodHMatrix | ( | ) | [virtual] |
Definition at line 103 of file MethodHMatrix.cxx.
References fInvHMatrixB, fInvHMatrixS, fVecMeanB, fVecMeanS, and NULL.
TMVA::MethodHMatrix::MethodHMatrix | ( | const TString & | jobName, | |
const TString & | methodTitle, | |||
DataSetInfo & | theData, | |||
const TString & | theOption = "" , |
|||
TDirectory * | theTargetDir = 0 | |||
) |
TMVA::MethodHMatrix::MethodHMatrix | ( | DataSetInfo & | theData, | |
const TString & | theWeightFile, | |||
TDirectory * | theTargetDir = NULL | |||
) |
virtual TMVA::MethodHMatrix::~MethodHMatrix | ( | ) | [virtual] |
Bool_t TMVA::MethodHMatrix::HasAnalysisType | ( | Types::EAnalysisType | type, | |
UInt_t | numberClasses, | |||
UInt_t | numberTargets | |||
) | [virtual] |
Implements TMVA::IMethod.
Definition at line 113 of file MethodHMatrix.cxx.
References TMVA::Types::kClassification, kFALSE, and kTRUE.
void TMVA::MethodHMatrix::Train | ( | ) | [virtual] |
Implements TMVA::MethodBase.
Definition at line 134 of file MethodHMatrix.cxx.
References TMath::Abs(), ComputeCovariance(), TMatrixT< Element >::Determinant(), E, Endl, fInvHMatrixB, fInvHMatrixS, TMatrixT< Element >::Invert(), kFALSE, TMVA::kFATAL, kTRUE, TMVA::kWARNING, and TMVA::Configurable::Log().
void TMVA::MethodHMatrix::AddWeightsXMLTo | ( | void * | parent | ) | const [virtual] |
Implements TMVA::MethodBase.
Definition at line 314 of file MethodHMatrix.cxx.
References TMVA::Tools::AddChild(), fInvHMatrixB, fInvHMatrixS, fVecMeanB, fVecMeanS, TMVA::gTools(), TMVA::Tools::WriteTMatrixDToXML(), and TMVA::Tools::WriteTVectorDToXML().
void TMVA::MethodHMatrix::ReadWeightsFromStream | ( | istream & | istr | ) |
Definition at line 335 of file MethodHMatrix.cxx.
References dummy, fInvHMatrixB, fInvHMatrixS, fVecMeanB, fVecMeanS, and TMVA::MethodBase::GetNvar().
void TMVA::MethodHMatrix::ReadWeightsFromXML | ( | void * | wghtnode | ) | [virtual] |
Implements TMVA::MethodBase.
Definition at line 323 of file MethodHMatrix.cxx.
References fInvHMatrixB, fInvHMatrixS, fVecMeanB, fVecMeanS, TMVA::Tools::GetChild(), TMVA::Tools::GetNextChild(), TMVA::gTools(), TMVA::Tools::ReadTMatrixDFromXML(), and TMVA::Tools::ReadTVectorDFromXML().
Implements TMVA::MethodBase.
Definition at line 238 of file MethodHMatrix.cxx.
References b, Endl, GetChi2(), TMVA::Types::kBackground, TMVA::kFATAL, TMVA::Types::kSignal, TMVA::Configurable::Log(), TMVA::MethodBase::NoErrorCalc(), and s.
const Ranking* TMVA::MethodHMatrix::CreateRanking | ( | ) | [inline, virtual] |
void TMVA::MethodHMatrix::MakeClassSpecific | ( | std::ostream & | , | |
const TString & | ||||
) | const [protected, virtual] |
Reimplemented from TMVA::MethodBase.
Definition at line 361 of file MethodHMatrix.cxx.
References fInvHMatrixS, fVecMeanS, TMVA::MethodBase::GetNvar(), TMVA::Types::kBackground, and TMVA::Types::kSignal.
void TMVA::MethodHMatrix::GetHelpMessage | ( | ) | const [protected, virtual] |
Implements TMVA::IMethod.
Definition at line 436 of file MethodHMatrix.cxx.
References TMVA::Tools::Color(), Endl, TMVA::gTools(), and TMVA::Configurable::Log().
void TMVA::MethodHMatrix::DeclareOptions | ( | ) | [private, virtual] |
void TMVA::MethodHMatrix::ProcessOptions | ( | ) | [private, virtual] |
Double_t TMVA::MethodHMatrix::GetChi2 | ( | Event * | e, | |
Types::ESBType | ||||
) | const [private] |
Definition at line 253 of file MethodHMatrix.cxx.
References Endl, TMVA::MethodBase::GetNvar(), TMVA::Event::GetValue(), TMVA::MethodBase::GetXmax(), TMVA::MethodBase::GetXmin(), TMVA::gTools(), TMVA::MethodBase::IsNormalised(), TMVA::kFATAL, TMVA::Types::kSignal, TMVA::Configurable::Log(), TMVA::Tools::NormVariable(), and val.
Referenced by GetMvaValue().
Double_t TMVA::MethodHMatrix::GetChi2 | ( | Types::ESBType | ) | const [private] |
Definition at line 284 of file MethodHMatrix.cxx.
References Endl, TMVA::MethodBase::GetEvent(), TMVA::MethodBase::GetNvar(), TMVA::Event::GetValue(), TMVA::kFATAL, TMVA::Types::kSignal, TMVA::Configurable::Log(), and val.
Definition at line 175 of file MethodHMatrix.cxx.
References TMVA::MethodBase::Data(), TMVA::MethodBase::DataInfo(), fVecMeanB, fVecMeanS, TMVA::MethodBase::GetEvent(), TMVA::DataSet::GetNEvents(), TMVA::DataSetInfo::GetNVariables(), i, TMVA::MethodBase::IgnoreEventsWithNegWeightsInTraining(), TMVA::Types::kTraining, and TMVA::DataSet::SetCurrentType().
Referenced by Train().
void TMVA::MethodHMatrix::Init | ( | ) | [private, virtual] |
Implements TMVA::MethodBase.
Definition at line 87 of file MethodHMatrix.cxx.
References fInvHMatrixB, fInvHMatrixS, fVecMeanB, fVecMeanS, TMVA::MethodBase::GetNvar(), and TMVA::MethodBase::SetSignalReferenceCut().
virtual Bool_t TMVA::MethodHMatrix::HasAnalysisType | ( | Types::EAnalysisType | type, | |
UInt_t | numberClasses, | |||
UInt_t | numberTargets | |||
) | [virtual] |
Implements TMVA::IMethod.
void TMVA::MethodHMatrix::Train | ( | ) | [virtual] |
Implements TMVA::MethodBase.
void TMVA::MethodHMatrix::AddWeightsXMLTo | ( | void * | parent | ) | const [virtual] |
Implements TMVA::MethodBase.
void TMVA::MethodHMatrix::ReadWeightsFromStream | ( | istream & | istr | ) |
void TMVA::MethodHMatrix::ReadWeightsFromXML | ( | void * | wghtnode | ) | [virtual] |
Implements TMVA::MethodBase.
Implements TMVA::MethodBase.
const Ranking* TMVA::MethodHMatrix::CreateRanking | ( | ) | [inline, virtual] |
void TMVA::MethodHMatrix::MakeClassSpecific | ( | std::ostream & | , | |
const TString & | ||||
) | const [protected, virtual] |
Reimplemented from TMVA::MethodBase.
void TMVA::MethodHMatrix::GetHelpMessage | ( | ) | const [protected, virtual] |
Implements TMVA::IMethod.
void TMVA::MethodHMatrix::DeclareOptions | ( | ) | [private, virtual] |
Implements TMVA::MethodBase.
void TMVA::MethodHMatrix::ProcessOptions | ( | ) | [private, virtual] |
Implements TMVA::MethodBase.
Double_t TMVA::MethodHMatrix::GetChi2 | ( | Event * | e, | |
Types::ESBType | ||||
) | const [private] |
Double_t TMVA::MethodHMatrix::GetChi2 | ( | Types::ESBType | ) | const [private] |
void TMVA::MethodHMatrix::Init | ( | ) | [private, virtual] |
Implements TMVA::MethodBase.
TMatrixD* TMVA::MethodHMatrix::fInvHMatrixS [private] |
Definition at line 119 of file MethodHMatrix.h.
Referenced by AddWeightsXMLTo(), Init(), MakeClassSpecific(), ReadWeightsFromStream(), ReadWeightsFromXML(), Train(), and ~MethodHMatrix().
TMatrixD* TMVA::MethodHMatrix::fInvHMatrixB [private] |
Definition at line 120 of file MethodHMatrix.h.
Referenced by AddWeightsXMLTo(), Init(), ReadWeightsFromStream(), ReadWeightsFromXML(), Train(), and ~MethodHMatrix().
TVectorD* TMVA::MethodHMatrix::fVecMeanS [private] |
Definition at line 121 of file MethodHMatrix.h.
Referenced by AddWeightsXMLTo(), ComputeCovariance(), Init(), MakeClassSpecific(), ReadWeightsFromStream(), ReadWeightsFromXML(), and ~MethodHMatrix().
TVectorD* TMVA::MethodHMatrix::fVecMeanB [private] |
Definition at line 122 of file MethodHMatrix.h.
Referenced by AddWeightsXMLTo(), ComputeCovariance(), Init(), ReadWeightsFromStream(), ReadWeightsFromXML(), and ~MethodHMatrix().
TMatrixD* TMVA::MethodHMatrix::fInvHMatrixS [private] |
Definition at line 119 of file MethodHMatrix.h.
TMatrixD* TMVA::MethodHMatrix::fInvHMatrixB [private] |
Definition at line 120 of file MethodHMatrix.h.
TVectorD* TMVA::MethodHMatrix::fVecMeanS [private] |
Definition at line 121 of file MethodHMatrix.h.
TVectorD* TMVA::MethodHMatrix::fVecMeanB [private] |
Definition at line 122 of file MethodHMatrix.h.