Skip to content
Quantoros

How do natural-log entropy and base-two entropy differ?

MathematicsLevel: FoundationInformation measures

How do natural-log entropy and base-two entropy differ?

Hints
  • Use log-base conversion.
  • Identify units.

Answer

They use nats and bits respectively. Divide nats by ln(2) to obtain bits; changing the base changes units, not uncertainty ordering.

Source and licence: SciPy — entropy and relative entropy · BSD-3-Clause · answer: Quantoros editorial

Related questions