Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Python Introduction to NumPy Meet NumPy Multidimensional Arrays

Stuart Wright
Stuart Wright
41,102 Points

Precision Error

Very minor point but Craig states at around 5:10 in this video that we didn't run into any precision errors with our dataset, but we actually did. 3.286 stored as np.float16 becomes 3.28515625, which was displayed in the Jupyter Notebook output as 3.285.

1 Answer

Craig Dennis
Craig Dennis
Treehouse Teacher

Nice catch Stuart! If you pay attention, you'll notice I stumble....I was expecting it in the last row, but missed it in the first one!

That's a great example of the precision problem.

Nice :eyes:!