Skip to content

AI & ML · Machine Learning Math

Information theory

98 problems in this skill, each with a solver-verified answer key. Answers are checked the moment you submit — with a hint if you want one and a worked solution afterwards.

What the problems look like

A few statements from this skill. Answers, hints and worked solutions live in the practice session.

  1. Warm-up

    A classifier's label variable XX is uniform over 242^{4} equally likely classes. Compute the entropy H(X)=∑ipilog⁡2(1/pi)H(X) = \sum_i p_i \log_2(1/p_i) in bits.

  2. Warm-up

    A classifier's label variable XX is uniform over 252^{5} equally likely classes. Compute the entropy H(X)=∑ipilog⁡2(1/pi)H(X) = \sum_i p_i \log_2(1/p_i) in bits.

  3. Warm-up

    A classifier's label variable XX is uniform over 262^{6} equally likely classes. Compute the entropy H(X)=∑ipilog⁡2(1/pi)H(X) = \sum_i p_i \log_2(1/p_i) in bits.

Problems shown under their original terms: Generated (template, solver-computed).

Practice this free, right now

Unlimited math practice is on the free plan — no card, no trial clock.

See every Machine Learning Math skill for ai & ml