Skip to content
Prev 42783 / 398506 Next

Using pam, agnes or clara as prediction models?

On Thu, Jan 15, 2004 at 08:32:45AM +0000, Prof Brian Ripley wrote:
Yes, that what was I understood. My objective was to use this division
by applying it to the test set: for each point in the test set, predict
what cluster it would enter.
By isn't that what the knn does: locate the nearest neighbour of a point
and assigning its (nn) label to the point-to-be-classified?

I thought that I was doing:
 1. create a clustering of data using PAM
 2. train a knn with the medoids of the PAM clustering
 3. apply the knn to the test set
 4. look at the result

Could you tell me what I'm not getting here?

Regards,

Renald