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

Least Squares Loss Function.

Definition at line 200 of file LossFunction.h.

Public Member Functions

 LeastSquaresLossFunction ()
 
 ~LeastSquaresLossFunction ()
 
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
 
Int_t Id () override
 
TString Name () override
 
- Public Member Functions inherited from TMVA::LossFunction
 LossFunction ()
 
virtual ~LossFunction ()
 

#include <TMVA/LossFunction.h>

Inheritance diagram for TMVA::LeastSquaresLossFunction:
[legend]

Constructor & Destructor Documentation

◆ LeastSquaresLossFunction()

TMVA::LeastSquaresLossFunction::LeastSquaresLossFunction ( )
inline

Definition at line 203 of file LossFunction.h.

◆ ~LeastSquaresLossFunction()

TMVA::LeastSquaresLossFunction::~LeastSquaresLossFunction ( )
inline

Definition at line 204 of file LossFunction.h.

Member Function Documentation

◆ CalculateLoss()

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

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

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

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

Implements TMVA::LossFunction.

Definition at line 378 of file LossFunction.cxx.

◆ Id()

Int_t TMVA::LeastSquaresLossFunction::Id ( )
inlineoverridevirtual

Implements TMVA::LossFunction.

Definition at line 213 of file LossFunction.h.

◆ Name()

TString TMVA::LeastSquaresLossFunction::Name ( )
inlineoverridevirtual

Implements TMVA::LossFunction.

Definition at line 212 of file LossFunction.h.

Libraries for TMVA::LeastSquaresLossFunction:

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