mml-book / mml-book.github.io

Companion webpage to the book "Mathematics For Machine Learning"
13.19k stars 2.43k forks source link

X axis ticks in Figure 6.10 should be discrete and aligned with bars #631

Open st-- opened 3 years ago

st-- commented 3 years ago

Describe the mistake Figure 6.10 describes a discrete distribution. It is rather confusing that the x axis ticks are 0.0, 2.5, 5.0, etc. instead of 0, 5, 10. Also, the bars aren't actually on top of the corresponding ticks.

Location

  1. version 2021-01-14
  2. Chapter 6
  3. page 206
  4. Figure 6.10

Proposed solution Redo the figure so that the first bar is on top of a tick saying "0" and the sixth bar is on top of a tick saying "5".