r/learnmachinelearning • • 2d ago

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

/r/learnmachinelearning/comments/1xwric5/anyone_else_understand_what_an_ml_algorithm_does/
1 Upvotes

4 comments sorted by

2

u/Ok-Library1020 2d ago

A lot of the maths gets easier once you see the dot product as a similarity score between two vectors. Try one tiny 2D example by hand, and the matrix stuff starts to feel like that same idea done in bulk.

1

u/PhoenixAlive87 2d ago

That's a helpful way to build intuition! Starting with a tiny example makes the operations feel much less abstract.

I also find the next question interesting: once someone understands how the calculation works, what helps them connect it to why an ML algorithm needs that operation in the first place?

I wonder whether that's where some learners experience the bigger disconnect.

2

u/Ok-Library1020 2d ago

Tracing one input through a tiny model helps a lot. The dot product scores how well it matches a learned pattern, so if you nudge one weight you can watch the prediction move, and that's basically what training is doing.

1

u/PhoenixAlive87 1d ago

That's a useful way to connect the maths to actual model behaviour. Changing one weight and watching the prediction shift makes the role of the calculation much more tangible. Thanks for sharing!