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 CalculateLoss (LossFunctionEventInfo &e) override
 absolute deviation, determine the loss for a single event
Double_t CalculateMeanLoss (std::vector< LossFunctionEventInfo > &evs) override
 absolute deviation, determine the mean loss for a collection of events
Double_t CalculateNetLoss (std::vector< LossFunctionEventInfo > &evs) override
 absolute deviation, determine the net loss for a collection of events
Double_t Fit (std::vector< LossFunctionEventInfo > &evs) override
 absolute deviation BDT, determine the fit value for the terminal node based upon the events in the terminal node
Int_t Id () override
void Init (std::map< const TMVA::Event *, LossFunctionEventInfo > &evinfomap, std::vector< double > &boostWeights) override
 absolute deviation BDT, initialize the targets and prepare for the regression
TString Name () override
void SetTargets (std::vector< const TMVA::Event * > &evs, std::map< const TMVA::Event *, LossFunctionEventInfo > &evinfomap) override
 absolute deviation BDT, set the targets for a collection of events
Double_t Target (LossFunctionEventInfo &e) override
 absolute deviation BDT, set the target for a single event

#include <TMVA/LossFunction.h>

Inheritance diagram for TMVA::AbsoluteDeviationLossFunctionBDT:
TMVA::LossFunctionBDT TMVA::AbsoluteDeviationLossFunction TMVA::LossFunction TMVA::LossFunction

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

◆ CalculateLoss()

Double_t TMVA::AbsoluteDeviationLossFunction::CalculateLoss ( LossFunctionEventInfo & e)
overridevirtualinherited

absolute deviation, determine the loss for a single event

Implements TMVA::LossFunction.

Definition at line 497 of file LossFunction.cxx.

◆ CalculateMeanLoss()

Double_t TMVA::AbsoluteDeviationLossFunction::CalculateMeanLoss ( std::vector< LossFunctionEventInfo > & evs)
overridevirtualinherited

absolute deviation, determine the mean loss for a collection of events

Implements TMVA::LossFunction.

Definition at line 516 of file LossFunction.cxx.

◆ CalculateNetLoss()

Double_t TMVA::AbsoluteDeviationLossFunction::CalculateNetLoss ( std::vector< LossFunctionEventInfo > & evs)
overridevirtualinherited

absolute deviation, determine the net loss for a collection of events

Implements TMVA::LossFunction.

Definition at line 505 of file LossFunction.cxx.

◆ Fit()

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

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.

◆ Id()

Int_t TMVA::AbsoluteDeviationLossFunction::Id ( )
inlineoverridevirtualinherited

Implements TMVA::LossFunction.

Definition at line 252 of file LossFunction.h.

◆ Init()

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

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

Implements TMVA::LossFunctionBDT.

Definition at line 536 of file LossFunction.cxx.

◆ Name()

TString TMVA::AbsoluteDeviationLossFunction::Name ( )
inlineoverridevirtualinherited

Implements TMVA::LossFunction.

Definition at line 251 of file LossFunction.h.

◆ SetTargets()

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

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)
overridevirtual

absolute deviation BDT, set the target for a single event

Implements TMVA::LossFunctionBDT.

Definition at line 580 of file LossFunction.cxx.


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