 ROOT   6.10/09 Reference Guide
TMVA::LeastSquaresLossFunction Class Reference

Least Squares Loss Function.

Definition at line 197 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]

## ◆ LeastSquaresLossFunction()

 TMVA::LeastSquaresLossFunction::LeastSquaresLossFunction ( )
inline

Definition at line 200 of file LossFunction.h.

## ◆ ~LeastSquaresLossFunction()

 TMVA::LeastSquaresLossFunction::~LeastSquaresLossFunction ( )
inline

Definition at line 201 of file LossFunction.h.

## ◆ CalculateLoss()

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

least squares , determine the loss for a single event

Implements TMVA::LossFunction.

Definition at line 317 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 339 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 327 of file LossFunction.cxx.

## ◆ Id()

 Int_t TMVA::LeastSquaresLossFunction::Id ( )
inlinevirtual

Implements TMVA::LossFunction.

Definition at line 210 of file LossFunction.h.

## ◆ Name()

 TString TMVA::LeastSquaresLossFunction::Name ( )
inlinevirtual

Implements TMVA::LossFunction.

Definition at line 209 of file LossFunction.h.

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