article thumbnail

Density-Based Clustering

Domino Data Lab

Due to its importance in both theory and applications, this algorithm is one of three algorithms awarded the Test of Time Award at the KDD conference in 2014. from sklearn.datasets import make_moons #moons_X: Data, moon_y: Labels moons_X, moon_y = make_moons(n_samples = 2000). X[idx,:] += noise return X.

Metrics 116