I am trying to cluster my dataset. I have 700k rows in my data set. I took 40k from it and tried DBSCAN clustering in python and sklearn. I ran on 32 GB ram. The algorithm ran the whole night but it didn't finish and I stopped the program then manually.
But when I tried with 10k data set it was running.
Is there any limitation of DBSCAN in the case of dataset size?
I used below code:
clustering = DBSCAN().fit(df)
pred_y = clustering.labels_
and also below version:
clustering = DBSCAN(eps=9.7, min_samples=2, algorithm='ball_tree', metric='minkowski', leaf_size=90, p=2).fit(df)
pred_y = clustering.labels_
How can I use DBSCAN clustering in my dataset?