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

Class measuring change in EMP under AIC from merging 2 nodes. More...

+ Inheritance diagram for subpavings::SPSNodeMeasureEMPSumChangeMergeAIC:
+ Collaboration diagram for subpavings::SPSNodeMeasureEMPSumChangeMergeAIC:

List of all members.


Detailed Description

Class measuring change in EMP under AIC from merging 2 nodes.

Under AIC, EMP is -1 x sum over leaves of (counts in leaf x (ln(count in leaf /(n x vol of leaf))) where n is the total number of data points in the histogram

For two subleaf nodes we are comparing the change in -1 x the sum over leaves of (counts in leaf x (ln(count in leaf /(n x vol of leaf) which would result if each node were to be the one to be merged.

Merges take from the left of the queue first ("smallest")

The smaller (more negative) the value returned by getMergeChangeEMPAIC(), the more a node will reduce or least increase the overall EMP by being merged, so it should be lower, ie more to left, in the ordering.


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