0
$\begingroup$

I have few clustering algorithms tuned having 5 cluster. I want 6th cluster if new data does not belong initial 5 cluster fall in 6th cluster.

6th cluster [ say other category] consist of all data point which does not belong to 5 cluster.

P.S.:- initial whatever data is give is belong those 5 cluster. so say, kmean algorithms with number cluster as 5. during inference I wanted add 6th cluster so any which does belong given cluster can put this category depending on threshold distance. I have textual data. do let me which clustering algorithms i should go with dbscan, som etc..

$\endgroup$

1 Answer 1

0
$\begingroup$

Clustering doesn't work like this: for example k-means assigns an instance to the closest centroid, and since there is always a closest centroid there is a always a cluster that an instance "belongs to".

So you need a different approach if you plan to have the possibility of in instance "not in any group":

  • redo the clustering on the full set of instances
  • apply a first step which detects outliers
  • train a one-class classification model for every cluster
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.