Calculate the "SeparationGain" for Regression analysis separation criteria used in various training algorithms.
There are two things: the Separation Index, and the Separation Gain Separation Index: Measure of the "Variance" of a sample.
Separation Gain: the measure of how the quality of separation of the sample increases by splitting the sample e.g. into a "left-node" and a "right-node" (N * Index_parent) - (N_left * Index_left) - (N_right * Index_right) this is then the quality criteria which is optimized for when trying to increase the information in the system (making the best selection
Definition at line 66 of file RegressionVariance.h.
Public Member Functions | |
RegressionVariance () | |
RegressionVariance (const RegressionVariance &s) | |
virtual | ~RegressionVariance () |
TString | GetName () |
Double_t | GetSeparationGain (const Double_t nLeft, const Double_t targetLeft, const Double_t target2Left, const Double_t nTot, const Double_t targetTot, const Double_t target2Tot) |
Separation Gain: the measure of how the quality of separation of the sample increases by splitting the sample e.g. | |
virtual Double_t | GetSeparationIndex (const Double_t n, const Double_t target, const Double_t target2) |
Separation Index: a simple Variance. | |
virtual TClass * | IsA () const |
virtual void | Streamer (TBuffer &) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Protected Attributes | |
TString | fName |
name of the concrete Separation Index implementation | |
#include <TMVA/RegressionVariance.h>
|
inline |
Definition at line 71 of file RegressionVariance.h.
|
inline |
Definition at line 74 of file RegressionVariance.h.
|
inlinevirtual |
Definition at line 77 of file RegressionVariance.h.
|
static |
|
inlinestaticconstexpr |
Definition at line 94 of file RegressionVariance.h.
|
inlinestatic |
Definition at line 94 of file RegressionVariance.h.
|
inline |
Definition at line 88 of file RegressionVariance.h.
Double_t TMVA::RegressionVariance::GetSeparationGain | ( | const Double_t | nLeft, |
const Double_t | targetLeft, | ||
const Double_t | target2Left, | ||
const Double_t | nTot, | ||
const Double_t | targetTot, | ||
const Double_t | target2Tot | ||
) |
Separation Gain: the measure of how the quality of separation of the sample increases by splitting the sample e.g.
into a "left-node" and a "right-node" (N * Index_parent) - (N_left * Index_left) - (N_right * Index_right) this is then the quality criteria which is optimized for when trying to increase the information in the system for the Regression: as the "Gain is maximised", the RMS (sqrt(variance)) which is used as a "separation" index should be as small as possible. the "figure of merit" here has to be -(rms left+rms-right) or 1/rms...
Definition at line 69 of file RegressionVariance.cxx.
|
virtual |
Separation Index: a simple Variance.
Definition at line 88 of file RegressionVariance.cxx.
|
inlinevirtual |
Definition at line 94 of file RegressionVariance.h.
|
virtual |
|
inline |
Definition at line 94 of file RegressionVariance.h.
|
protected |
name of the concrete Separation Index implementation
Definition at line 92 of file RegressionVariance.h.