Logo ROOT   6.16/01
Reference Guide
List of all members | Public Member Functions | List of all members
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 More...
 
void Init (std::map< const TMVA::Event *, LossFunctionEventInfo > &evinfomap, std::vector< double > &boostWeights)
 absolute deviation BDT, initialize the targets and prepare for the regression More...
 
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 More...
 
Double_t Target (LossFunctionEventInfo &e)
 absolute deviation BDT, set the target for a single event More...
 
- Public Member Functions inherited from TMVA::LossFunctionBDT
 LossFunctionBDT ()
 
virtual ~LossFunctionBDT ()
 
virtual Double_t Fit (std::vector< LossFunctionEventInfo > &evs)=0
 
virtual void Init (std::map< const TMVA::Event *, LossFunctionEventInfo > &evinfomap, std::vector< double > &boostWeights)=0
 
virtual void SetTargets (std::vector< const TMVA::Event * > &evs, std::map< const TMVA::Event *, LossFunctionEventInfo > &evinfomap)=0
 
virtual Double_t Target (LossFunctionEventInfo &e)=0
 
- Public Member Functions inherited from TMVA::LossFunction
 LossFunction ()
 
virtual ~LossFunction ()
 
virtual Double_t CalculateLoss (LossFunctionEventInfo &e)=0
 
virtual Double_t CalculateMeanLoss (std::vector< LossFunctionEventInfo > &evs)=0
 
virtual Double_t CalculateNetLoss (std::vector< LossFunctionEventInfo > &evs)=0
 
virtual Int_t Id ()=0
 
virtual TString Name ()=0
 
- Public Member Functions inherited from TMVA::AbsoluteDeviationLossFunction
 AbsoluteDeviationLossFunction ()
 
 ~AbsoluteDeviationLossFunction ()
 
Double_t CalculateLoss (LossFunctionEventInfo &e)
 absolute deviation, determine the loss for a single event More...
 
Double_t CalculateMeanLoss (std::vector< LossFunctionEventInfo > &evs)
 absolute deviation, determine the mean loss for a collection of events More...
 
Double_t CalculateNetLoss (std::vector< LossFunctionEventInfo > &evs)
 absolute deviation, determine the net loss for a collection of events More...
 
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:
[legend]

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