specify the number of clusters in dbscan
5 views (last 30 days)
Show older comments
how to specify the number of clusters in dbscan please ????
0 Comments
Answers (2)
VM Sreeram
on 27 Jun 2023
It is not possible to specify the number of clusters as a parameter in dbscan. The number of clusters is automatically determined by the algorithm based on the density of data points in the feature space.
0 Comments
Image Analyst
on 27 Jun 2023
Like @VM Sreeram said, you can't do that directlywith dbscan, though you could iterate varying the parameter until only two clusters are found.
0 Comments
See Also
Categories
Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!