this post was submitted on 19 Dec 2023
878 points (91.9% liked)

Memes

45730 readers
1102 users here now

Rules:

  1. Be civil and nice.
  2. 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
[–] [email protected] 9 points 11 months ago (3 children)

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

[–] [email protected] 4 points 11 months ago (1 children)

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.

[–] [email protected] 2 points 11 months ago

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

[–] [email protected] 3 points 11 months ago* (last edited 11 months ago) (1 children)

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.

[–] [email protected] 6 points 11 months ago (1 children)

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.”

[–] [email protected] 1 points 11 months ago

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?

[–] [email protected] 1 points 11 months ago

JPEG uses a lossy form of compression based on the discrete cosine transform (DCT).

- 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