|
ROOT 6.12/07 Reference Guide |
Huber Loss Function.
Definition at line 141 of file LossFunction.h.
Public Member Functions | |
| HuberLossFunction () | |
| huber constructor More... | |
| HuberLossFunction (Double_t quantile) | |
| ~HuberLossFunction () | |
| huber destructor More... | |
| Double_t | CalculateLoss (LossFunctionEventInfo &e) |
| huber, determine the loss for a single event More... | |
| Double_t | CalculateMeanLoss (std::vector< LossFunctionEventInfo > &evs) |
| huber, determine the mean loss for a collection of events More... | |
| Double_t | CalculateNetLoss (std::vector< LossFunctionEventInfo > &evs) |
| huber, determine the net loss for a collection of events More... | |
| Double_t | CalculateQuantile (std::vector< LossFunctionEventInfo > &evs, Double_t whichQuantile, Double_t sumOfWeights, bool abs) |
| huber, determine the quantile for a given input More... | |
| Double_t | CalculateSumOfWeights (std::vector< LossFunctionEventInfo > &evs) |
| huber, determine the quantile for a given input More... | |
| Int_t | Id () |
| void | Init (std::vector< LossFunctionEventInfo > &evs) |
| figure out the residual that determines the separation between the "core" and the "tails" of the residuals distribution More... | |
| TString | Name () |
| void | SetSumOfWeights (std::vector< LossFunctionEventInfo > &evs) |
| huber, set the sum of weights given a collection of events More... | |
| void | SetTransitionPoint (std::vector< LossFunctionEventInfo > &evs) |
| huber, determine the transition point using the values for fQuantile and fSumOfWeights which presumably have already been set More... | |
Public Member Functions inherited from TMVA::LossFunction | |
| LossFunction () | |
| virtual | ~LossFunction () |
Protected Attributes | |
| Double_t | fQuantile |
| Double_t | fSumOfWeights |
| Double_t | fTransitionPoint |
#include <TMVA/LossFunction.h>
| TMVA::HuberLossFunction::HuberLossFunction | ( | ) |
huber constructor
Definition at line 50 of file LossFunction.cxx.
| TMVA::HuberLossFunction::HuberLossFunction | ( | Double_t | quantile | ) |
Definition at line 57 of file LossFunction.cxx.
| TMVA::HuberLossFunction::~HuberLossFunction | ( | ) |
huber destructor
Definition at line 66 of file LossFunction.cxx.
|
virtual |
huber, determine the loss for a single event
Implements TMVA::LossFunction.
Definition at line 161 of file LossFunction.cxx.
|
virtual |
huber, determine the mean loss for a collection of events
Implements TMVA::LossFunction.
Definition at line 202 of file LossFunction.cxx.
|
virtual |
huber, determine the net loss for a collection of events
Implements TMVA::LossFunction.
Definition at line 184 of file LossFunction.cxx.
| Double_t TMVA::HuberLossFunction::CalculateQuantile | ( | std::vector< LossFunctionEventInfo > & | evs, |
| Double_t | whichQuantile, | ||
| Double_t | sumOfWeights, | ||
| bool | abs | ||
| ) |
huber, determine the quantile for a given input
Definition at line 97 of file LossFunction.cxx.
| Double_t TMVA::HuberLossFunction::CalculateSumOfWeights | ( | std::vector< LossFunctionEventInfo > & | evs | ) |
huber, determine the quantile for a given input
Definition at line 84 of file LossFunction.cxx.
|
inlinevirtual |
Implements TMVA::LossFunction.
Definition at line 155 of file LossFunction.h.
| void TMVA::HuberLossFunction::Init | ( | std::vector< LossFunctionEventInfo > & | evs | ) |
figure out the residual that determines the separation between the "core" and the "tails" of the residuals distribution
Definition at line 74 of file LossFunction.cxx.
|
inlinevirtual |
Implements TMVA::LossFunction.
Definition at line 154 of file LossFunction.h.
| void TMVA::HuberLossFunction::SetSumOfWeights | ( | std::vector< LossFunctionEventInfo > & | evs | ) |
huber, set the sum of weights given a collection of events
Definition at line 154 of file LossFunction.cxx.
| void TMVA::HuberLossFunction::SetTransitionPoint | ( | std::vector< LossFunctionEventInfo > & | evs | ) |
huber, determine the transition point using the values for fQuantile and fSumOfWeights which presumably have already been set
Definition at line 127 of file LossFunction.cxx.
|
protected |
Definition at line 165 of file LossFunction.h.
|
protected |
Definition at line 167 of file LossFunction.h.
|
protected |
Definition at line 166 of file LossFunction.h.