this post was submitted on 19 Dec 2023
877 points (91.9% liked)
Memes
45584 readers
2287 users here now
Rules:
- Be civil and nice.
- Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Fair enough, but did they use it? I always felt like focusing on statistics instead of random trig stuff for non stem people people would be more useful
Sticking with image compression, see Quite Okay Images. It treats each pixel as three numbers and expects mostly small changes. Recent pixels get hashed and can be referenced in a few bits. This is enough to compete with PNG filesizes, an order of magnitude faster, while handling each pixel exactly once.
though note than lossy formats , like JPEG which was used here , do use Fourier transforms , which are very intense trigonometry . IIRC PNG doesn't use trigonometry either , ~~though I'm not entirely sure~~ yup PNG uses DEFLATE after some filtering , so no sine there I believe
Agreed, I use highschool level stats knowledge on a nearly daily basis, whereas the last time I did any trig was to follow along with a math video I was watching on YouTube. Trig/calc were mandatory, stats was not.
And stats really should be a mainline math class in high school. It comes up in so many places, and is far too often simplified away into a binary black & white choice.
Any time something happens that was predicted to be less than 50% likely, people lose their shit. For instance, when it unexpectedly rains or the wrong person wins an election.
But it’s not even being able to run the numbers or understanding statistical significance. It’s much more basic, just understanding that probabilities and uncertainty exist and are everywhere. My favorite example is when going to the doctor. They explain that whatever you have is probably X or Y, with a small chance of Z, but Y has been going around a lot and is easy to treat, so let’s try medication A for it. Then when that gets reported to friends and family afterwards, it’s “she said I have Y and I need A to fix it.”
Plus, if someone needs calculus for their major, they'll just make them take it again in college. Why build high school math around it?
- Wikipedia - JPEG
Many modern compression schemes are more about signal processing than statistics , especially the lossy ones . IIRC 3blue1brown has a video on image compression if you want to learn about it in a visual way