Monte Carlo Algorithms
I just made the audacious statement that some algorithms reduce accuracy for the sake of increasing speed. In other words, Algorithm A is slower but guaranteed to produce the correct result, while Algorithm B is faster but may not produce the correct result.
Which would you choose?
If you’re a fourth-grade math teacher, this may be nothing short of terrifying. Imagine the following classroom conversation:
You say, “Kids, kids, settle down. Okay, who can tell me the answer to 4 times 6? Wow, Chester, your hand shot up fast! Okay, Chester, what’s the answer?”
Chester blurts out, “18!”
Some of the other children giggle softly. You say, “No, Chester. The answer is 24. Perhaps …”
Chester interrupts you, shouting, “But you gotta ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access