MRS  1.0
A C++ Class Library for Statistical Set Processing
subpavings::SPSNodeMeasureEMPSumChangeCOPERR Class Reference

Class measuring change in EMP under COPERR from splitting 2 nodes. More...

+ Inheritance diagram for subpavings::SPSNodeMeasureEMPSumChangeCOPERR:
+ Collaboration diagram for subpavings::SPSNodeMeasureEMPSumChangeCOPERR:

List of all members.

Public Member Functions

 SPSNodeMeasureEMPSumChangeCOPERR (size_t n)
cxsc::real operator() (const SPSnode *const spn) const
 Return the measure of the node.

Detailed Description

Class measuring change in EMP under COPERR from splitting 2 nodes.

Under COPERR, EMP is -1/n^2 x sum over leaves of (counts in leaf squared / volume of leaf) where n is the total number of data points in the histogram

For two leaf nodes we are comparing change in the sum over leaves of (counts in leaf squared over volume of leaf) which would result if each node were to be the one to be split.

The smaller (more negative) the value returned by getSplitChangeEMPCOPERR(), the more a node will reduce or least increase the overall EMP by being split, so it should be higher, ie more to right, in the ordering, so we meausure using the negated value.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends