Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TMVA::AbsoluteDeviationLossFunctionBDT Class Reference

Absolute Deviation BDT Loss Function.

Definition at line 261 of file LossFunction.h.

Public Member Functions

 AbsoluteDeviationLossFunctionBDT ()
 
 ~AbsoluteDeviationLossFunctionBDT ()
 
Double_t Fit (std::vector< LossFunctionEventInfo > &evs)
 absolute deviation BDT, determine the fit value for the terminal node based upon the events in the terminal node
 
void Init (std::map< const TMVA::Event *, LossFunctionEventInfo > &evinfomap, std::vector< double > &boostWeights)
 absolute deviation BDT, initialize the targets and prepare for the regression
 
void SetTargets (std::vector< const TMVA::Event * > &evs, std::map< const TMVA::Event *, LossFunctionEventInfo > &evinfomap)
 absolute deviation BDT, set the targets for a collection of events
 
Double_t Target (LossFunctionEventInfo &e)
 absolute deviation BDT, set the target for a single event
 
- Public Member Functions inherited from TMVA::LossFunctionBDT
 LossFunctionBDT ()
 
virtual ~LossFunctionBDT ()
 
- Public Member Functions inherited from TMVA::LossFunction
 LossFunction ()
 
virtual ~LossFunction ()
 
- Public Member Functions inherited from TMVA::AbsoluteDeviationLossFunction
 AbsoluteDeviationLossFunction ()
 
 ~AbsoluteDeviationLossFunction ()
 
Double_t CalculateLoss (LossFunctionEventInfo &e)
 absolute deviation, determine the loss for a single event
 
Double_t CalculateMeanLoss (std::vector< LossFunctionEventInfo > &evs)
 absolute deviation, determine the mean loss for a collection of events
 
Double_t CalculateNetLoss (std::vector< LossFunctionEventInfo > &evs)
 absolute deviation, determine the net loss for a collection of events
 
Int_t Id ()
 
TString Name ()
 

#include <TMVA/LossFunction.h>

Inheritance diagram for TMVA::AbsoluteDeviationLossFunctionBDT:
[legend]

Constructor & Destructor Documentation

◆ AbsoluteDeviationLossFunctionBDT()

TMVA::AbsoluteDeviationLossFunctionBDT::AbsoluteDeviationLossFunctionBDT ( )
inline

Definition at line 264 of file LossFunction.h.

◆ ~AbsoluteDeviationLossFunctionBDT()

TMVA::AbsoluteDeviationLossFunctionBDT::~AbsoluteDeviationLossFunctionBDT ( )
inline

Definition at line 265 of file LossFunction.h.

Member Function Documentation

◆ Fit()

Double_t TMVA::AbsoluteDeviationLossFunctionBDT::Fit ( std::vector< LossFunctionEventInfo > &  evs)
virtual

absolute deviation BDT, determine the fit value for the terminal node based upon the events in the terminal node

Implements TMVA::LossFunctionBDT.

Definition at line 591 of file LossFunction.cxx.

◆ Init()

void TMVA::AbsoluteDeviationLossFunctionBDT::Init ( std::map< const TMVA::Event *, LossFunctionEventInfo > &  evinfomap,
std::vector< double > &  boostWeights 
)
virtual

absolute deviation BDT, initialize the targets and prepare for the regression

Implements TMVA::LossFunctionBDT.

Definition at line 536 of file LossFunction.cxx.

◆ SetTargets()

void TMVA::AbsoluteDeviationLossFunctionBDT::SetTargets ( std::vector< const TMVA::Event * > &  evs,
std::map< const TMVA::Event *, LossFunctionEventInfo > &  evinfomap 
)
virtual

absolute deviation BDT, set the targets for a collection of events

Implements TMVA::LossFunctionBDT.

Definition at line 559 of file LossFunction.cxx.

◆ Target()

Double_t TMVA::AbsoluteDeviationLossFunctionBDT::Target ( LossFunctionEventInfo e)
virtual

absolute deviation BDT, set the target for a single event

Implements TMVA::LossFunctionBDT.

Definition at line 580 of file LossFunction.cxx.

Libraries for TMVA::AbsoluteDeviationLossFunctionBDT:

The documentation for this class was generated from the following files: