Implementation of a rule.
A rule is simply a branch or a part of a branch in a tree. It fulfills the following:
The coefficient is found by either brute force or some sort of intelligent fitting. See the RuleEnsemble class for more info.
Private Member Functions | |
| void | Copy (const Rule &other) |
| copy function | |
| const TString & | GetVarName (Int_t i) const |
| returns the name of a rule | |
| MsgLogger & | Log () const |
| void | Print (std::ostream &os) const |
| print function | |
| void | SetSigma (Double_t v) |
Private Attributes | |
| Double_t | fCoefficient |
| rule coeff. a(k) | |
| RuleCut * | fCut |
| all cuts associated with the rule | |
| Double_t | fImportance |
| importance of rule | |
| Double_t | fImportanceRef |
| importance ref | |
| MsgLogger * | fLogger |
| ! message logger | |
| Double_t | fNorm |
| normalization - usually 1.0/t(k) | |
| const RuleEnsemble * | fRuleEnsemble |
| pointer to parent RuleEnsemble | |
| Double_t | fSigma |
| t(k) = sqrt(s*(1-s)) | |
| Double_t | fSSB |
| S/(S+B) for rule. | |
| Double_t | fSSBNeve |
| N(events) reaching the last node in reevaluation. | |
| Double_t | fSupport |
| s(k) | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const Rule &rule) |
#include <TMVA/Rule.h>
| TMVA::Rule::Rule | ( | RuleEnsemble * | re, |
| const std::vector< const TMVA::Node * > & | nodes ) |
| TMVA::Rule::Rule | ( | RuleEnsemble * | re | ) |
Compare two rules.
|
inline |
|
private |
| void TMVA::Rule::PrintLogger | ( | const char * | title = nullptr | ) | const |
| void TMVA::Rule::PrintRaw | ( | std::ostream & | os | ) | const |
| void TMVA::Rule::ReadFromXML | ( | void * | wghtnode | ) |
| void TMVA::Rule::ReadRaw | ( | std::istream & | os | ) |
|
inline |
|
private |
|
mutableprivate |
|
private |
|
private |
pointer to parent RuleEnsemble
|
private |