Logo ROOT  
Reference Guide
TMVA::LeastSquaresLossFunction Class Reference

Least Squares Loss Function.

Definition at line 225 of file LossFunction.h.

Public Member Functions

 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 ()
 
- 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 228 of file LossFunction.h.

◆ ~LeastSquaresLossFunction()

TMVA::LeastSquaresLossFunction::~LeastSquaresLossFunction ( )
inline

Definition at line 229 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 238 of file LossFunction.h.

◆ Name()

TString TMVA::LeastSquaresLossFunction::Name ( )
inlinevirtual

Implements TMVA::LossFunction.

Definition at line 237 of file LossFunction.h.

Libraries for TMVA::LeastSquaresLossFunction:
[legend]

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