Simpson’s Paradox (2016)
A riveting tale of how good data can lead to bad decisions.
Topics /
The most popular blog posts about math & algorithms on Hacker News. 2,851 posts.
A riveting tale of how good data can lead to bad decisions.
Discovery of the 50th known Mersenne Prime.
Before I started doing research, I saw SAT solvers as academically interesting but without practical uses ouside of other academic applications. I've since then changed my mind, and I want to change yours, because modern SAT solvers are neat, fast and almost criminally underused by the industry.
There's a cute math puzzle that can be interesting to folks on very different levels:
Note: These pages make extensive use of the latest XHTML and CSS Standards . They ought to look great in any standards-compliant modern browser. Unfortunately, they will probably look horrible in older browsers, like Netscape 4.x and IE 4.x. Moreover, many posts use MathML, which is, currently only supported in…
In a recent 3Blue1Brown video series on transformer models, Grant Sanderson posed a fascinating question: How can a relatively modest embedding space of 12,288 dimensions (GPT-3) accommodate millions of distinct real-world concepts? The answer lies at the intersection of high-dimensional geometry and a remarkable…
Tired of equations and matrices? Ready to learn the easy way? This post explains the Kalman Filter simply with pictures and examples!
Engineering at Forward | UCLA CS '19
I was struck the other day by the following: The cooking instructions on my Bob’s tri-colored quinoa package said to combine 2 cups of water with 1 cup of dried quinoa, which would ultimately create 4 cups of cooked quinoa. See image above. My first reaction was to believe …
i become stupid
When the central heating takes effect I'll get up and make myself some tea and porridge to which I'll add some nuts and fruit. I'll switch on The World Service to hear the news, and then make a few phone calls about damp-proofing. And I'll probably plant the daffodil bulbs for Spring (it says on the packet they should…
Looking over the solutions mega-thread , it seems like not many people discovered this trick; when I posted about it , people found it to be noteworthy.
An image kernel is a small matrix used to apply effects like the ones you might find in Photoshop or Gimp, such as blurring, sharpening, outlining or embossing. They're also used in machine learning for 'feature extraction', a technique for determining the most important portions of an image. In this context the…
I recently learned an interesting fact about Fibonacci numbers while watching a random number theory video on YouTube. Fibonacci numbers can be used to approximately convert from miles to kilometers and back. Here is how. Take two consecutive Fibonacci numbers, for example 5 and 8. And you're done converting. No...
Inspired by James McKee’s Trinity Hall prime, physics researcher Gilles Esposito-Farese (of the self-descriptive pangram) has worked out that this 2,258-digit prime number: 53084469288402965415857953902888840109250315594591772197851275320 59910735745658243457138160802170063601085186072703319516241231606…
This article discusses a ‘visual’ derivation of the formula for 1³+2³+…+n³.
We sometimes have to look for a value in a sorted array. The simplest algorithm consists in just going through the values We sometimes have to look for a value in a sorted array. The simplest algorithm consists in just going through the values one by one, until we encounter the value, or exhaust the … Continue reading…
What is an algorithm ? It’s a sequence of steps that you follow to solve a problem. In everyday life, you might have an algorithm for hangin...
What’s the biggest pixel size of a PNG image in the smallest number of bytes? I wanted to try to create an image that could be downloaded but whose pixel buffer would be too big to store in the RAM of a PC. Here is a PNG image of 6,132,534 bytes (5.8 MB) and 225,000 × 225,000 pixels (50.625 gigapixels), which, if…
These structures are so universal that most research papers in the theory of computation, programming languages and formal methods present concepts in terms of discrete mathematics rather than code.
A guide on how to generate sudokus of any difficulty.
If an expert can't understand your explanation, you've dumbed it down too much!
Why models always get better when they are bigger and deeper, even when the amount of data they consume stays the same or gets smaller.