Logo ROOT  
Reference Guide
TMVA::LeastSquaresLossFunctionBDT Class Reference

Least Squares BDT Loss Function.

Definition at line 222 of file LossFunction.h.

Public Member Functions

 LeastSquaresLossFunctionBDT ()
 
 ~LeastSquaresLossFunctionBDT ()
 
Double_t Fit (std::vector< LossFunctionEventInfo > &evs)
 huber 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)
 least squares 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)
 least squares BDT, set the targets for a collection of events More...
 
Double_t Target (LossFunctionEventInfo &e)
 least squares 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::LeastSquaresLossFunction
 LeastSquaresLossFunction ()
 
 ~LeastSquaresLossFunction ()
 
Double_t CalculateLoss (LossFunctionEventInfo &e)
 least squares , determine the loss for a single event More...
 
Double_t CalculateMeanLoss (std::vector< LossFunctionEventInfo > &evs)
 least squares , determine the mean loss for a collection of events More...
 
Double_t CalculateNetLoss (std::vector< LossFunctionEventInfo > &evs)
 least squares , determine the net loss for a collection of events More...
 
Int_t Id ()
 
TString Name ()
 

#include <TMVA/LossFunction.h>

Inheritance diagram for TMVA::LeastSquaresLossFunctionBDT:
[legend]

Constructor & Destructor Documentation

◆ LeastSquaresLossFunctionBDT()

TMVA::LeastSquaresLossFunctionBDT::LeastSquaresLossFunctionBDT ( )
inline

Definition at line 225 of file LossFunction.h.

◆ ~LeastSquaresLossFunctionBDT()

TMVA::LeastSquaresLossFunctionBDT::~LeastSquaresLossFunctionBDT ( )
inline

Definition at line 226 of file LossFunction.h.

Member Function Documentation

◆ Fit()

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

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

Implements TMVA::LossFunctionBDT.

Definition at line 470 of file LossFunction.cxx.

◆ Init()

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

least squares BDT, initialize the targets and prepare for the regression

Implements TMVA::LossFunctionBDT.

Definition at line 413 of file LossFunction.cxx.

◆ SetTargets()

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

least squares BDT, set the targets for a collection of events

Implements TMVA::LossFunctionBDT.

Definition at line 437 of file LossFunction.cxx.

◆ Target()

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

least squares BDT, set the target for a single event

Implements TMVA::LossFunctionBDT.

Definition at line 459 of file LossFunction.cxx.

Libraries for TMVA::LeastSquaresLossFunctionBDT:
[legend]

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