# Programming Machine Learning - Dimension numbers correct? (page 118)

**URL:** <https://forum.devtalk.com/t/programming-machine-learning-dimension-numbers-correct-page-118/147243>\
**Category:** PragProg Customers\
**Tags:** book-programming-machine-learning\
**Created:** [13 March 2024 21:47 UTC](https://forum.devtalk.com/t/programming-machine-learning-dimension-numbers-correct-page-118/147243 "2024-03-13T21:47:26Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![nusco](https://forum.devtalk.com/user_avatar/forum.devtalk.com/nusco/32/5449_2.png) [@nusco](https://forum.devtalk.com/u/nusco)\
**Post date:** [17 March 2024 15:11 UTC](https://forum.devtalk.com/t/programming-machine-learning-dimension-numbers-correct-page-118/147243/2 "2024-03-17T15:11:35Z")

</div>

Here I am, at long last! Sorry for the slow reply, @mscdit . I was knocked out by the flu.

This looks indeed like a mistake in that diagram (that is even repeated in two consecutive chapters). `w1` should be (785, 200), not (785, 201). Then the hidden layer is (M, 200), and it becomes (M, 201) when you prepend the biases.

Thank you for spotting it! I’ll add to the errata for future editions.

---

_[View the full topic](https://forum.devtalk.com/t/programming-machine-learning-dimension-numbers-correct-page-118/147243)._
