Information Entropy

H ( S ) = i = 1 C p i log 2 ( p i )

Conditional entropy

H ( C | T ) = P ( t ) H ( C | t ) + P ( t ¯ ) H ( C | t ¯ )