clustering list of words in python

后端 未结 3 1645
無奈伤痛
無奈伤痛 2021-01-03 11:37

I am a newbie in text mining, here is my situation. Suppose i have a list of words [\'car\', \'dog\', \'puppy\', \'vehicle\'], i would like to cluster words into k groups, I

3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-03 12:27

    Adding on to what's already been said regarding similarity scores, finding k in clustering applications generally is aided by scree plots (also known as an "elbow curve"). In these plots, you'll usually have some measure of dispersion between clusters on the y-axis, and the number of clusters on the x-axis. Finding the minimum (second derivative) of the curve in the scree plot gives you a more objective measure of cluster "uniqueness."

提交回复
热议问题