SchoolWhool
Quizzes and saved progress, freeSign in freeSign in

Maths 5.1Lesson outlineLesson 1 of 1 in Module 5

Floating Point and Numerical Stability

Know why a correct formula can give a wrong answer on a computer, and the standard fixes.

Video in production.

Learn

In this lesson12 parts

  1. 01A correct formula, a wrong answer
  2. 02How a float stores a number
  3. 03Gaps between floats and machine epsilon
  4. 04Rounding in a subtraction
  5. 05Overflow and underflow
  6. 06Checkpoint: floats so far
  7. 07Products become sums of logs
  8. 08Log-sum-exp and the stable softmax
  9. 09The stable sigmoid and log loss
  10. 10A long message in Naive Bayes
  11. 11Floating point in Python
  12. 12Recap, challenge, and next: Naive Bayes