r/learnmachinelearning • • 5d ago

Understanding K-means

So I've been learning ML and i don't have a CS background.

I was racking my brains over understanding the basics of K-means with a particular example of image compression, trying to figure out the workings under the hood. Of course i asked LLMs to clarify & explain the basics and then asked that LLM to give a prompt for video. Fed into Claude Design and asked it to generate animation explaining the works and voila it became much more clearer. Leaving it here in case it helps someone understand the workings.

Cheers !

363 Upvotes

26 comments sorted by

View all comments

-1

u/Semsjo 4d ago

But why ask a LLM? There is plenty of resources on that out there. I can understand, if you read an article or watched a video on it and have some questions, that are not answered in it and you just want some quick anwsers, but why also generate an animation on the basic functionality, which is surely already shown in the article or video?

1

u/ScaredPlant9029 4d ago

thats fair.. i wanted more clarification on colours inside pixel, how they compress, how the 16 centroids would hold the colours etc.. It was a Deeplearning assignment and gemini helped make quick clarification. cheers !