What is the intuition behind the following entropy formula used in the ID3 algorithm?
$$ \text{info}(D) = -\sum_{i=1}^m p_i \log_2(p_i) $$
Artificial Intelligence Stack Exchange is a question and answer site for people interested in conceptual questions about life and challenges in a world where "cognitive" functions can be mimicked in purely digital environment. It only takes a minute to sign up.
Sign up to join this communityPlease, take a look at Understanding Shannon's Entropy metric for Information.
The answer for the minus sign is in section 6. The probability logs are less than or equal to $0$, so the minus sign guarantees that information (entropy) is always greater than or equal to $0$.