Logo ROOT   6.12/07
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 258 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 ()
 
- 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 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 261 of file LossFunction.h.

◆ ~AbsoluteDeviationLossFunctionBDT()

TMVA::AbsoluteDeviationLossFunctionBDT::~AbsoluteDeviationLossFunctionBDT ( )
inline

Definition at line 262 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 523 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 476 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 497 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 512 of file LossFunction.cxx.

Libraries for TMVA::AbsoluteDeviationLossFunctionBDT:
[legend]

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