#include <Rule.h>
Definition at line 56 of file Rule.h.
TMVA::Rule::Rule | ( | RuleEnsemble * | re, | |
const std::vector< const TMVA::Node * > & | nodes | |||
) |
TMVA::Rule::Rule | ( | RuleEnsemble * | re | ) |
TMVA::Rule::Rule | ( | const Rule & | other | ) | [inline] |
TMVA::Rule::~Rule | ( | ) | [virtual] |
TMVA::Rule::Rule | ( | RuleEnsemble * | re, | |
const std::vector< const TMVA::Node * > & | nodes | |||
) |
TMVA::Rule::Rule | ( | RuleEnsemble * | re | ) |
TMVA::Rule::Rule | ( | const Rule & | other | ) | [inline] |
TMVA::Rule::Rule | ( | ) |
virtual TMVA::Rule::~Rule | ( | ) | [virtual] |
void TMVA::Rule::SetMsgType | ( | EMsgType | t | ) |
Definition at line 143 of file Rule.cxx.
References fLogger, and TMVA::MsgLogger::SetMinType().
Referenced by TMVA::RuleEnsemble::MakeTheRule().
void TMVA::Rule::SetRuleEnsemble | ( | const RuleEnsemble * | re | ) | [inline] |
void TMVA::Rule::SetRuleCut | ( | RuleCut * | rc | ) | [inline] |
Definition at line 84 of file Rule.h.
References fCut.
Referenced by TMVA::RuleFitAPI::ReadModelSum().
void TMVA::Rule::SetNorm | ( | Double_t | norm | ) | [inline] |
Definition at line 87 of file Rule.h.
References fNorm.
Referenced by Copy(), and TMVA::RuleFitAPI::ReadModelSum().
void TMVA::Rule::SetCoefficient | ( | Double_t | v | ) | [inline] |
Definition at line 90 of file Rule.h.
References fCoefficient.
Referenced by Copy(), and TMVA::RuleFitAPI::ReadModelSum().
void TMVA::Rule::SetSupport | ( | Double_t | v | ) | [inline] |
Definition at line 93 of file Rule.h.
References fSigma, fSupport, and TMath::Sqrt().
Referenced by Copy(), and TMVA::RuleFitAPI::ReadModelSum().
void TMVA::Rule::SetSSB | ( | Double_t | v | ) | [inline] |
Definition at line 96 of file Rule.h.
References fSSB.
Referenced by TMVA::RuleFitAPI::ReadModelSum().
void TMVA::Rule::SetSSBNeve | ( | Double_t | v | ) | [inline] |
Definition at line 99 of file Rule.h.
References fSSBNeve.
Referenced by TMVA::RuleFitAPI::ReadModelSum().
void TMVA::Rule::SetImportanceRef | ( | Double_t | v | ) | [inline] |
Definition at line 102 of file Rule.h.
References fImportanceRef.
Referenced by Copy(), and TMVA::RuleFitAPI::ReadModelSum().
void TMVA::Rule::CalcImportance | ( | ) | [inline] |
Definition at line 105 of file Rule.h.
References TMath::Abs(), fCoefficient, fImportance, and fSigma.
Referenced by Copy(), and TMVA::RuleFitAPI::ReadModelSum().
Double_t TMVA::Rule::GetRelImportance | ( | ) | const [inline] |
Definition at line 108 of file Rule.h.
References fImportance, and fImportanceRef.
Referenced by TMVA::MethodRuleFit::TrainTMVARuleFit().
Definition at line 150 of file Rule.cxx.
References d, kFALSE, and RuleDist().
Referenced by operator==().
Definition at line 171 of file Rule.cxx.
References equal(), fCut, fRuleEnsemble, TMVA::RuleCut::GetCutDoMax(), TMVA::RuleCut::GetCutDoMin(), TMVA::RuleCut::GetCutMax(), TMVA::RuleCut::GetCutMin(), TMVA::RuleFit::GetMethodBase(), TMVA::RuleCut::GetNvars(), TMVA::MethodBase::GetRMS(), GetRuleCut(), TMVA::RuleEnsemble::GetRuleFit(), TMVA::RuleCut::GetSelector(), sel, and sqrt().
Referenced by Equal(), and TMVA::RuleFit::MakeDebugHists().
Double_t TMVA::Rule::GetSSB | ( | ) | const [inline] |
Definition at line 123 of file Rule.h.
References fSSB.
Referenced by Copy(), and TMVA::MethodRuleFit::TrainTMVARuleFit().
Double_t TMVA::Rule::GetSSBNeve | ( | ) | const [inline] |
Bool_t TMVA::Rule::IsSignalRule | ( | ) | const [inline] |
Definition at line 125 of file Rule.h.
References fSSB.
Referenced by TMVA::MethodRuleFit::TrainTMVARuleFit().
void TMVA::Rule::operator= | ( | const Rule & | other | ) | [inline] |
UInt_t TMVA::Rule::GetNumVarsUsed | ( | ) | const [inline] |
Definition at line 136 of file Rule.h.
References fCut, and TMVA::RuleCut::GetNvars().
Referenced by TMVA::RuleFit::MakeDebugHists().
UInt_t TMVA::Rule::GetNcuts | ( | ) | const [inline] |
Definition at line 139 of file Rule.h.
References fCut, and TMVA::RuleCut::GetNcuts().
Referenced by TMVA::RuleFit::MakeDebugHists().
Definition at line 126 of file Rule.cxx.
References fCut, TMVA::RuleCut::GetNvars(), TMVA::RuleCut::GetSelector(), i, and kFALSE.
Referenced by TMVA::RuleFit::FillVisHistCorr().
const RuleCut* TMVA::Rule::GetRuleCut | ( | ) | const [inline] |
Definition at line 145 of file Rule.h.
References fCut.
Referenced by Copy(), TMVA::RuleFit::FillCorr(), TMVA::RuleFit::FillCut(), RuleDist(), and TMVA::MethodRuleFit::TrainTMVARuleFit().
const RuleEnsemble* TMVA::Rule::GetRuleEnsemble | ( | ) | const [inline] |
Double_t TMVA::Rule::GetCoefficient | ( | ) | const [inline] |
Definition at line 147 of file Rule.h.
References fCoefficient.
Referenced by Copy(), TMVA::RuleFit::FillCorr(), TMVA::RuleFit::FillCut(), and TMVA::MethodRuleFit::TrainTMVARuleFit().
Double_t TMVA::Rule::GetSupport | ( | ) | const [inline] |
Definition at line 148 of file Rule.h.
References fSupport.
Referenced by Copy(), TMVA::RuleFit::FillCorr(), TMVA::RuleFit::FillCut(), and TMVA::MethodRuleFit::TrainTMVARuleFit().
Double_t TMVA::Rule::GetSigma | ( | ) | const [inline] |
Definition at line 149 of file Rule.h.
References fSigma.
Referenced by Copy(), and TMVA::RuleFitAPI::ReadModelSum().
Double_t TMVA::Rule::GetNorm | ( | ) | const [inline] |
Double_t TMVA::Rule::GetImportance | ( | ) | const [inline] |
Definition at line 151 of file Rule.h.
References fImportance.
Referenced by TMVA::RuleFit::FillCorr(), TMVA::RuleFit::FillCut(), TMVA::RuleFit::FillVisHistCorr(), operator<(), and TMVA::RuleFitAPI::ReadModelSum().
Double_t TMVA::Rule::GetImportanceRef | ( | ) | const [inline] |
void TMVA::Rule::PrintLogger | ( | const char * | title = 0 |
) | const |
Definition at line 313 of file Rule.cxx.
References Endl, fCut, fImportance, fImportanceRef, Form(), TMVA::RuleCut::GetCutDoMax(), TMVA::RuleCut::GetCutDoMin(), TMVA::RuleCut::GetCutMax(), TMVA::RuleCut::GetCutMin(), TMVA::RuleCut::GetNvars(), TMVA::RuleCut::GetSelector(), GetVarName(), i, TMVA::kINFO, TMVA::kWARNING, Log(), and sel.
void TMVA::Rule::PrintRaw | ( | ostream & | os | ) | const |
Definition at line 344 of file Rule.cxx.
References fCoefficient, fCut, fImportance, fImportanceRef, flush, fNorm, fSigma, fSSB, fSSBNeve, fSupport, TMVA::RuleCut::GetCutDoMax(), TMVA::RuleCut::GetCutDoMin(), TMVA::RuleCut::GetCutMax(), TMVA::RuleCut::GetCutMin(), TMVA::RuleCut::GetNvars(), TMVA::RuleCut::GetSelector(), and i.
void * TMVA::Rule::AddXMLTo | ( | void * | parent | ) | const |
Definition at line 375 of file Rule.cxx.
References TMVA::Tools::AddAttr(), TMVA::Tools::AddChild(), fCoefficient, fCut, fImportance, fImportanceRef, fNorm, fSigma, fSSB, fSSBNeve, fSupport, TMVA::RuleCut::GetCutDoMax(), TMVA::RuleCut::GetCutDoMin(), TMVA::RuleCut::GetCutMax(), TMVA::RuleCut::GetCutMin(), TMVA::RuleCut::GetNvars(), TMVA::RuleCut::GetSelector(), TMVA::gTools(), and i.
void TMVA::Rule::ReadRaw | ( | istream & | os | ) |
Definition at line 451 of file Rule.cxx.
References dummy, fCoefficient, fCut, fImportance, fImportanceRef, fNorm, fSigma, fSSB, fSSBNeve, fSupport, i, kFALSE, kTRUE, sel, TMVA::RuleCut::SetCutDoMax(), TMVA::RuleCut::SetCutDoMin(), TMVA::RuleCut::SetCutMax(), TMVA::RuleCut::SetCutMin(), TMVA::RuleCut::SetNvars(), and TMVA::RuleCut::SetSelector().
void TMVA::Rule::ReadFromXML | ( | void * | wghtnode | ) |
Definition at line 403 of file Rule.cxx.
References c, d, Endl, fCoefficient, fCut, fImportance, fImportanceRef, fNorm, fSigma, fSSB, fSSBNeve, fSupport, TMVA::Tools::GetChild(), TMVA::Tools::GetNextChild(), TMVA::gTools(), i, kFALSE, TMVA::kFATAL, kTRUE, Log(), TMVA::Tools::ReadAttr(), TMVA::RuleCut::SetCutDoMax(), TMVA::RuleCut::SetCutDoMin(), TMVA::RuleCut::SetCutMax(), TMVA::RuleCut::SetCutMin(), TMVA::RuleCut::SetNvars(), and TMVA::RuleCut::SetSelector().
void TMVA::Rule::SetSigma | ( | Double_t | v | ) | [inline, private] |
void TMVA::Rule::Print | ( | ostream & | os | ) | const [private] |
Definition at line 282 of file Rule.cxx.
References fCoefficient, fCut, fImportance, fImportanceRef, flush, Form(), fSSB, fSupport, TMVA::RuleCut::GetCutDoMax(), TMVA::RuleCut::GetCutDoMin(), TMVA::RuleCut::GetCutMax(), TMVA::RuleCut::GetCutMin(), TMVA::RuleCut::GetNvars(), TMVA::RuleCut::GetSelector(), GetVarName(), i, and sel.
Referenced by TMVA::operator<<().
void TMVA::Rule::Copy | ( | const Rule & | other | ) | [private] |
Definition at line 264 of file Rule.cxx.
References CalcImportance(), fCut, fSSB, fSSBNeve, GetCoefficient(), GetImportanceRef(), GetNorm(), GetRuleCut(), GetRuleEnsemble(), GetSigma(), GetSSB(), GetSSBNeve(), GetSupport(), SetCoefficient(), SetImportanceRef(), SetNorm(), SetRuleEnsemble(), SetSigma(), and SetSupport().
Referenced by operator=(), and Rule().
Definition at line 256 of file Rule.cxx.
References fRuleEnsemble, TMVA::MethodBase::GetInputLabel(), and TMVA::RuleEnsemble::GetMethodBase().
Referenced by Print(), and PrintLogger().
MsgLogger& TMVA::Rule::Log | ( | ) | const [inline, private] |
message logger
Definition at line 190 of file Rule.h.
References fLogger.
Referenced by PrintLogger(), and ReadFromXML().
void TMVA::Rule::SetMsgType | ( | EMsgType | t | ) |
void TMVA::Rule::SetRuleEnsemble | ( | const RuleEnsemble * | re | ) | [inline] |
void TMVA::Rule::SetRuleCut | ( | RuleCut * | rc | ) | [inline] |
void TMVA::Rule::SetNorm | ( | Double_t | norm | ) | [inline] |
void TMVA::Rule::SetCoefficient | ( | Double_t | v | ) | [inline] |
void TMVA::Rule::SetSupport | ( | Double_t | v | ) | [inline] |
void TMVA::Rule::SetSSB | ( | Double_t | v | ) | [inline] |
void TMVA::Rule::SetSSBNeve | ( | Double_t | v | ) | [inline] |
void TMVA::Rule::SetImportanceRef | ( | Double_t | v | ) | [inline] |
void TMVA::Rule::CalcImportance | ( | ) | [inline] |
Definition at line 105 of file Rule.h.
References TMath::Abs(), fCoefficient, fImportance, and fSigma.
Double_t TMVA::Rule::GetRelImportance | ( | ) | const [inline] |
Double_t TMVA::Rule::GetSSB | ( | ) | const [inline] |
Double_t TMVA::Rule::GetSSBNeve | ( | ) | const [inline] |
Bool_t TMVA::Rule::IsSignalRule | ( | ) | const [inline] |
void TMVA::Rule::operator= | ( | const Rule & | other | ) | [inline] |
UInt_t TMVA::Rule::GetNumVarsUsed | ( | ) | const [inline] |
UInt_t TMVA::Rule::GetNcuts | ( | ) | const [inline] |
const RuleCut* TMVA::Rule::GetRuleCut | ( | ) | const [inline] |
const RuleEnsemble* TMVA::Rule::GetRuleEnsemble | ( | ) | const [inline] |
Double_t TMVA::Rule::GetCoefficient | ( | ) | const [inline] |
Double_t TMVA::Rule::GetSupport | ( | ) | const [inline] |
Double_t TMVA::Rule::GetSigma | ( | ) | const [inline] |
Double_t TMVA::Rule::GetNorm | ( | ) | const [inline] |
Double_t TMVA::Rule::GetImportance | ( | ) | const [inline] |
Double_t TMVA::Rule::GetImportanceRef | ( | ) | const [inline] |
void TMVA::Rule::PrintLogger | ( | const char * | title = 0 |
) | const |
void TMVA::Rule::PrintRaw | ( | ostream & | os | ) | const |
void* TMVA::Rule::AddXMLTo | ( | void * | parent | ) | const |
void TMVA::Rule::ReadRaw | ( | istream & | os | ) |
void TMVA::Rule::ReadFromXML | ( | void * | wghtnode | ) |
void TMVA::Rule::SetSigma | ( | Double_t | v | ) | [inline, private] |
void TMVA::Rule::Print | ( | ostream & | os | ) | const [private] |
void TMVA::Rule::Copy | ( | const Rule & | other | ) | [private] |
MsgLogger& TMVA::Rule::Log | ( | ) | const [inline, private] |
ostream& operator<< | ( | ostream & | os, | |
const Rule & | rule | |||
) | [friend] |
ostream& operator<< | ( | ostream & | os, | |
const Rule & | rule | |||
) | [friend] |
RuleCut* TMVA::Rule::fCut [private] |
Definition at line 178 of file Rule.h.
Referenced by AddXMLTo(), ContainsVariable(), Copy(), EvalEvent(), GetNcuts(), GetNumVarsUsed(), GetRuleCut(), Print(), PrintLogger(), PrintRaw(), ReadFromXML(), ReadRaw(), RuleDist(), SetRuleCut(), and ~Rule().
Double_t TMVA::Rule::fNorm [private] |
Definition at line 179 of file Rule.h.
Referenced by AddXMLTo(), GetNorm(), PrintRaw(), ReadFromXML(), ReadRaw(), and SetNorm().
Double_t TMVA::Rule::fSupport [private] |
Definition at line 180 of file Rule.h.
Referenced by AddXMLTo(), GetSupport(), Print(), PrintRaw(), ReadFromXML(), ReadRaw(), and SetSupport().
Double_t TMVA::Rule::fSigma [private] |
Definition at line 181 of file Rule.h.
Referenced by AddXMLTo(), CalcImportance(), GetSigma(), PrintRaw(), ReadFromXML(), ReadRaw(), SetSigma(), and SetSupport().
Double_t TMVA::Rule::fCoefficient [private] |
Definition at line 182 of file Rule.h.
Referenced by AddXMLTo(), CalcImportance(), GetCoefficient(), Print(), PrintRaw(), ReadFromXML(), ReadRaw(), and SetCoefficient().
Double_t TMVA::Rule::fImportance [private] |
Definition at line 183 of file Rule.h.
Referenced by AddXMLTo(), CalcImportance(), GetImportance(), GetRelImportance(), operator<(), Print(), PrintLogger(), PrintRaw(), ReadFromXML(), and ReadRaw().
Double_t TMVA::Rule::fImportanceRef [private] |
Definition at line 184 of file Rule.h.
Referenced by AddXMLTo(), GetImportanceRef(), GetRelImportance(), Print(), PrintLogger(), PrintRaw(), ReadFromXML(), ReadRaw(), and SetImportanceRef().
const RuleEnsemble* TMVA::Rule::fRuleEnsemble [private] |
Definition at line 185 of file Rule.h.
Referenced by GetRuleEnsemble(), GetVarName(), RuleDist(), and SetRuleEnsemble().
Double_t TMVA::Rule::fSSB [private] |
Definition at line 186 of file Rule.h.
Referenced by AddXMLTo(), Copy(), GetSSB(), IsSignalRule(), Print(), PrintRaw(), ReadFromXML(), ReadRaw(), and SetSSB().
Double_t TMVA::Rule::fSSBNeve [private] |
Definition at line 187 of file Rule.h.
Referenced by AddXMLTo(), Copy(), GetSSBNeve(), PrintRaw(), ReadFromXML(), ReadRaw(), and SetSSBNeve().
MsgLogger* TMVA::Rule::fLogger [mutable, private] |
RuleCut* TMVA::Rule::fCut [private] |
const RuleEnsemble* TMVA::Rule::fRuleEnsemble [private] |
MsgLogger* TMVA::Rule::fLogger [mutable, private] |