QuestionQ99

Machine Learning

A data scientist is clustering a dataset but does not want to specify how many clusters it contains. Which of the following algorithms should the data scientist use?

  • A DBSCAN
  • B k-nearest neighbors
  • C k-means
  • D Logistic regression
Explanation

DBSCAN identifies clusters as connected dense regions and does not require the number of clusters to be specified in advance. Its parameters control density and neighborhood criteria instead. In contrast, k-means requires a predefined number of clusters.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!