86 Log() << kWARNING <<
"Sorry automatic pruning strength determination is not implemented yet" <<
Endl;
88 if( dt == NULL || (
IsAutomatic() && validationSample == NULL) ) {
97 Log() << kFATAL <<
"Sorry automatic pruning strength determination is not implemented yet" <<
Endl;
200 r->GetNEvents() * this->GetSubTreeError(
r)) /
Basic types used by ROOT and required by TInterpreter.
bool Bool_t
Boolean (0=false, 1=true) (bool).
double Double_t
Double 8 bytes.
DecisionTreeNode * GetLeft() const override
DecisionTreeNode * GetRight() const override
Int_t GetNodeType(void) const
return node type: 1 signal node, -1 bkg leave, 0 intermediate Node
Float_t GetNEvents(void) const
return the number of events that entered the node (during training), or -1 if traininfo undefined
Float_t GetPurity(void) const
return S/(S+B) (purity) at this node (from training)
Bool_t IsTerminal() const
flag indicates whether this node is terminal
Implementation of a Decision Tree.
Double_t GetNodePurityLimit() const
DecisionTreeNode * GetRoot() const override
ostringstream derivative to redirect and format output
MsgLogger & Endl(MsgLogger &ml)
Double_t Sqrt(Double_t x)
Returns the square root of x.