I used K-means to get the number of clusters for my data(Elbow Method). Then I was trying to see if for some specific hyperparameters can we get the same number of clusters for DBSCAN. I tried Brute-Force to get the parameter values and got some value for different data sets.
However, I was wondering if there is a justification for this or whether it's just a fluke?
Edit- All the datasets are 2-dimensional.