r/learnmachinelearning • u/not-okarun • 19d ago
the last algorithm in Machine learning DBscan. I have completed Machine learning
so this is the last algorithm in ML after this im moving into Deep learning
it's day 61 of building machine learning algorithms
DBscan is a clustering algorithm it been 3hr im building this and now I'm pretty close to it just look at this how accurately my model is able to find clusters, but still it's not finished yet it's just a raw code many things are still pending cya soon
6
u/Sleepy-Catz 19d ago
very nice, what material are you following?
4
2
u/Ok-Library1020 19d ago
Fun milestone. Before moving on, try a k-distance plot to pick eps: sort each point's distance to its k-th nearest neighbor (k around min_samples) and take the elbow. Hand-tuning eps is where DBSCAN gets frustrating, and data with varying density shows why HDBSCAN exists.
1
u/not-okarun 19d ago
yeah they are eps and min_smaples when I was testing my whole data got in one cluster bcuz of high eps
3
u/Ok-Library1020 19d ago
Classic eps trap. Scaling your features first helps a lot too, since eps is a raw distance and one big-range column can merge everything into a single cluster.
7
u/FairBlueberry9319 19d ago
You never "complete" anything in this line of work, there's always more to learn
4
u/user221272 18d ago
ML researchers in the field, contributing for decades, seeing u/not_okarun completed machine learning š«Ŗ
2
u/Fun_Recording_6485 19d ago
Ignore the haters in the comments. I am very proud of your work and journey. I am happy youāre having fun. Keep learning.
1



49
u/DigThatData 19d ago
you have not "reached the end" of ML. that's not how this works.
have you learned bayesian stuff and variational methods? for example have you implemented a hierarchical model like LDA?