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)
 least squares , determine the loss for a single event
 
Double_t CalculateMeanLoss (std::vector< LossFunctionEventInfo > &evs)
 least squares , determine the mean loss for a collection of events
 
Double_t CalculateNetLoss (std::vector< LossFunctionEventInfo > &evs)
 least squares , determine the net loss for a collection of events
 
Int_t Id ()
 
TString Name ()
 
- 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)
virtual

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

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

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 ( )
inlinevirtual

Implements TMVA::LossFunction.

Definition at line 213 of file LossFunction.h.

◆ Name()

TString TMVA::LeastSquaresLossFunction::Name ( )
inlinevirtual

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: