Skip to Content

Normalized Entropy

Definition

Normalized Entropy is a metric that takes into account the maximum possible value of Entropy and returns a normalized measure of the uncertainty associated with the variable:

HN(X)=H(X)log⁡2SXH_N(X) = \frac{H(X)}{\log_2 S_X}

Here, SXS_X is the number of states of XX.

Example

The demo network compares two variables that represent ball colors:

  • X1 — blue and red.
  • X2 — blue, red, green, yellow, purple, orange, brown, and black.

Normalized Entropy shows how close each variable’s entropy is to its own maximum. X1\mathit{X1} has two states and X2\mathit{X2} has eight.

Usage

In BayesiaLab, the values of Entropy and Normalized Entropy can be accessed in a number of ways:

In Validation Mode , activate Information Mode and hover over a Monitor. Its tooltip shows Entropy and Normalized Entropy.

To sort the Monitors in the Monitor Panel by Normalized Entropy, choose Monitor Panel Contextual Menu > Sort > Normalized Entropy.

MonitorContextMenuSortByNormalizedEntropy

The Normalized Entropy is also available as a Node Analysis metric for Size and Color in the 2D and 3D Mapping Tools.

For Function Nodes, use the entropy function in the Inference Functions group on the Formula tab.

  • For Entropy, enter Entropy(?X1?, False).
  • For Normalized Entropy, enter Entropy(?X1?, True).

Demo network

NormalizedEntropy.xbl
XBL