Definition at line 56 of file Rule.h.
#include <TMVA/Rule.h>
◆ Rule() [1/4]
the main constructor for a Rule
Definition at line 62 of file Rule.cxx.
◆ Rule() [2/4]
the simple constructor
Definition at line 90 of file Rule.cxx.
◆ Rule() [3/4]
TMVA::Rule::Rule |
( |
const Rule & |
other | ) |
|
|
inline |
◆ Rule() [4/4]
the simple constructor
Definition at line 108 of file Rule.cxx.
◆ ~Rule()
◆ AddXMLTo()
void * TMVA::Rule::AddXMLTo |
( |
void * |
parent | ) |
const |
◆ CalcImportance()
void TMVA::Rule::CalcImportance |
( |
| ) |
|
|
inline |
◆ ContainsVariable()
check if variable in node
Definition at line 135 of file Rule.cxx.
◆ Copy()
void TMVA::Rule::Copy |
( |
const Rule & |
other | ) |
|
|
private |
◆ Equal()
Compare two rules.
useCutValue: true -> calculate a distance between the two rules based on the cut values if the rule cuts are not equal, the distance is < 0 (-1.0) return true if d<mindist false->=""> ignore mindist, return true if rules are equal, ignoring cut values mindist: min distance allowed between rules; if < 0 => set useCutValue=false;
Definition at line 168 of file Rule.cxx.
◆ EvalEvent()
◆ GetCoefficient()
Double_t TMVA::Rule::GetCoefficient |
( |
| ) |
const |
|
inline |
◆ GetImportance()
Double_t TMVA::Rule::GetImportance |
( |
| ) |
const |
|
inline |
◆ GetImportanceRef()
Double_t TMVA::Rule::GetImportanceRef |
( |
| ) |
const |
|
inline |
◆ GetNcuts()
UInt_t TMVA::Rule::GetNcuts |
( |
| ) |
const |
|
inline |
◆ GetNorm()
◆ GetNumVarsUsed()
UInt_t TMVA::Rule::GetNumVarsUsed |
( |
| ) |
const |
|
inline |
◆ GetRelImportance()
Double_t TMVA::Rule::GetRelImportance |
( |
| ) |
const |
|
inline |
◆ GetRuleCut()
const RuleCut* TMVA::Rule::GetRuleCut |
( |
| ) |
const |
|
inline |
◆ GetRuleEnsemble()
◆ GetSigma()
◆ GetSSB()
◆ GetSSBNeve()
Double_t TMVA::Rule::GetSSBNeve |
( |
| ) |
const |
|
inline |
◆ GetSupport()
Double_t TMVA::Rule::GetSupport |
( |
| ) |
const |
|
inline |
◆ GetVarName()
returns the name of a rule
Definition at line 271 of file Rule.cxx.
◆ IsSignalRule()
Bool_t TMVA::Rule::IsSignalRule |
( |
| ) |
const |
|
inline |
◆ Log()
message logger
Definition at line 190 of file Rule.h.
◆ operator<()
Bool_t TMVA::Rule::operator< |
( |
const Rule & |
other | ) |
const |
comparison operator <
Definition at line 254 of file Rule.cxx.
◆ operator=()
void TMVA::Rule::operator= |
( |
const Rule & |
other | ) |
|
|
inline |
◆ operator==()
Bool_t TMVA::Rule::operator== |
( |
const Rule & |
other | ) |
const |
comparison operator ==
Definition at line 246 of file Rule.cxx.
◆ Print()
void TMVA::Rule::Print |
( |
std::ostream & |
os | ) |
const |
|
private |
print function
Definition at line 298 of file Rule.cxx.
◆ PrintLogger()
void TMVA::Rule::PrintLogger |
( |
const char * |
title = 0 | ) |
const |
print function
Definition at line 330 of file Rule.cxx.
◆ PrintRaw()
void TMVA::Rule::PrintRaw |
( |
std::ostream & |
os | ) |
const |
extensive print function used to print info for the weight file
Definition at line 362 of file Rule.cxx.
◆ ReadFromXML()
void TMVA::Rule::ReadFromXML |
( |
void * |
wghtnode | ) |
|
read rule from XML
Definition at line 423 of file Rule.cxx.
◆ ReadRaw()
void TMVA::Rule::ReadRaw |
( |
std::istream & |
os | ) |
|
read function (format is the same as written by PrintRaw)
Definition at line 472 of file Rule.cxx.
◆ RuleDist()
Returns: -1.0 : rules are NOT equal, i.e, variables and/or cut directions are wrong >=0: rules are equal apart from the cutvalue, returns d = sqrt(sum(c1-c2)^2) If not useCutValue, the distance is exactly zero if they are equal.
Definition at line 187 of file Rule.cxx.
◆ SetCoefficient()
◆ SetImportanceRef()
◆ SetMsgType()
◆ SetNorm()
◆ SetRuleCut()
◆ SetRuleEnsemble()
◆ SetSigma()
◆ SetSSB()
◆ SetSSBNeve()
◆ SetSupport()
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const Rule & |
rule |
|
) |
| |
|
friend |
◆ fCoefficient
◆ fCut
◆ fImportance
◆ fImportanceRef
◆ fLogger
◆ fNorm
◆ fRuleEnsemble
◆ fSigma
◆ fSSB
◆ fSSBNeve
◆ fSupport
The documentation for this class was generated from the following files: