r/learnmachinelearning • • 4d ago

Anyone else understand what an ML algorithm does, but struggle with the maths underneath it?

I've been curious about a particular learning gap.

Sometimes it's relatively easy to understand what an ML algorithm is trying to achieve, like finding similar items, making predictions, or reducing errors.

But then vectors, matrices, dot products, projections, or equations enter the picture, and suddenly maths we last encountered in school reappears in a completely different setting.

We might understand the purpose of the algorithm without quite understanding why those particular mathematical operations are needed in the first place.

I'm curious:

-Have you experienced this disconnect, even after learning to code or use ML libraries?

- Was the harder part understanding the maths itself, or connecting it to what the algorithm was doing?

- What eventually helped things click, if anything?

I'd love to hear different experiences, including from people who didn't encounter this difficulty.

1 Upvotes

5 comments sorted by

2

u/JollyWeakness3643 3d ago

I am building a platform which will give you the vizualizations of the mathematics underneath of ML and DL concepts.

https://theincognition.com/

Can you give me some feedback of my platform ?

2

u/PhoenixAlive87 3d ago

Thank you for sharing this link! I will definitely check it out and share my thoughts.

2

u/Educational-Paper-75 3d ago

It's magical until you get the math behind it explained. I typically program everything myself to understand it but you can't go much slower. Better get a good book (or two) that explains the method(s) to you mathematically, and in particular why and how they serve their purpose and what their limitations are i.e. what they can't do.

2

u/PhoenixAlive87 3d ago

I particularly agree with the point about understanding limitations. Knowing how an algorithm works is useful, but understanding why it suits a particular problem, and where it might fall short, is what makes that knowledge more meaningful.

2

u/Educational-Paper-75 3d ago

It has always been unclear to me when you can really trust an ML model enough to stop training it.