A numeric vector of length 1 representing information gain in nats.
Details
The information gain term is used here (improperly) as a synonym of mutual
information. It is defined as:
$$IG(X; Y) = \sum_{y \in Y} \sum_{x \in X} p(x, y) \log \left(\frac{p(x, y)}{p(x) p(y)} \right)$$
In biogram package information gain is computed using following relationship:
\(IG = E(S) - E(S|F)\)
References
Cover TM, Thomas JA Elements of Information Theory, 2nd Edition
Wiley, 2006.