I am doing clustering(kmeans) for a large dataset. Now wanted to add new data into existing cluster.
Here is my idea:
Calculate the euclidian distance of a new data point from all centroids and find the minimum of those distances.
Check if the minimum distance is less than the threshold value. If true, we assign the new data point to the corresponding cluster. Then, update the cluster center of that cluster.
If False, create a new cluster and assign the new data point as its center. Also, the data point becomes a part of the cluster.
In step 2, what will be the threshold value that I should use. Please share your idea.
I am thinking, by calculating the intracluster distance from each cluster and take the maximum distance from them would be my threshold value.
I am following the article here