I have a set of n-dimensional representative vectors in matlab. I have to group vectors from a set of training vectors to groups represented by representative vectors based on proximity. How should I do it?
See Question&Answers more detail:osI have a set of n-dimensional representative vectors in matlab. I have to group vectors from a set of training vectors to groups represented by representative vectors based on proximity. How should I do it?
See Question&Answers more detail:osYou can use dsearchn
to find which representative is closest to each point. I would recommend trying the version that doesn't involve a triangulation matrix first. If the memory or CPU performance isn't good enough, look into the triangulation stuff.