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

Least Squares BDT Loss Function.

Definition at line 222 of file LossFunction.h.

Public Member Functions

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

#include <TMVA/LossFunction.h>

Inheritance diagram for TMVA::LeastSquaresLossFunctionBDT:
TMVA::LossFunctionBDT TMVA::LeastSquaresLossFunction TMVA::LossFunction TMVA::LossFunction

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

◆ CalculateLoss()

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

least squares , determine the loss for a single event

Implements TMVA::LossFunction.

Definition at line 368 of file LossFunction.cxx.

◆ CalculateMeanLoss()

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

least squares , determine the mean loss for a collection of events

Implements TMVA::LossFunction.

Definition at line 390 of file LossFunction.cxx.

◆ CalculateNetLoss()

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

least squares , determine the net loss for a collection of events

Implements TMVA::LossFunction.

Definition at line 378 of file LossFunction.cxx.

◆ Fit()

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

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.

◆ Id()

Int_t TMVA::LeastSquaresLossFunction::Id ( )
inlineoverridevirtualinherited

Implements TMVA::LossFunction.

Definition at line 213 of file LossFunction.h.

◆ Init()

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

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

Implements TMVA::LossFunctionBDT.

Definition at line 413 of file LossFunction.cxx.

◆ Name()

TString TMVA::LeastSquaresLossFunction::Name ( )
inlineoverridevirtualinherited

Implements TMVA::LossFunction.

Definition at line 212 of file LossFunction.h.

◆ SetTargets()

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

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

least squares BDT, set the target for a single event

Implements TMVA::LossFunctionBDT.

Definition at line 459 of file LossFunction.cxx.


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