3 ms·
> And so that raises the question of what “nearest” means To me, the definition of "nearest" is just a technicality. The real question is: what is K?
by nurettin 1y ago
> And so that raises the question of what “nearest” means
To me, the definition of "nearest" is just a technicality.
The real question is: what is K?
- mentalgear 1y agoHave you tried HDBSCAN (DBSCAN variant) or Hierarchical Clustering (HAC) ?
- nurettin 1y agoMe? I probably tried every classification algorithm and their H variants. I still think "What is K?" is a profound question.
- keeeba 1y agoI agree it is a profound question. My thesis is fairly boring. For any given clustering task of interest, there is no single value of K. Clustering & unsupervised machine learning is as much about creating meaning and structure as it is about discovering or revealing it. Take the case of biological taxonomy, what K will best segment the animal kingdom? There is no true value of K. If your answer is for a child, maybe it’ 7 corresponding to what we’re taught in school - mammals, birds, reptiles, amphibians, fish, and invertebrates. If your answer is for a zoologist, obviously this won’t do. Every clustering task of interest is like this. And I say of interest because clustering things like digits in the classic MNIST dataset is better posed as a classification problem - the categories are defined analytically.
- seanhunter 1y agoK is whatever you want it to be. You want 5 clusters k=5. If you don’t know the right number of clusters try a few different values of k and see which partitions your sample in a way that’s good for your problem
- Spivak 1y agoThe total number of clusters. Determining this algorithmically is a fun open problem https://en.wikipedia.org/wiki/Determining_the_number_of_clusters_in_a_data_set https://en.wikipedia.org/wiki/Determining_the_number_of_clus.... For the data I work with at $dayjob I've found the Silhouette algorithm to perform best but I assume it will be extremely field specific. Clustering your data and taking a representative sample of each cluster is such a powerful trick to make big data small but finding an appropriate K is an art more than a science.
- dcl 1y agoAt a previous $dayjob at a very large financial institution, it's however many clusters are present in the strategy that was agreed to by the exec team and their highly paid consultants. You find that many clusters and shoehorn the consultant provided categories on to the k clusters you obtain.
- 3abiton 1y agoTo be fair finding K is highly domain dependent and I would argue should not be for the analyst (solely) to decide, but with a feedback from domain experts.