Ask Your Question

Revision history [back]

k-nearest neighbor classifier

Hi,

What does it mean a k-nearest neighbor classifier? I mean, using Fisherfaces, if i predict a model using a 3-nearest neighbor classifier i would get something like this:

{

'labels' : [ 0, 0, 1 ],

'distances' : [ 10.132, 10.341, 13.314 ]

}

Does this mean that for the first region or component of the Fisherfaces the predicted label is 0 and the distance 10.132? For the seccond region or component of the Fisherfaces the predicted label is 0 and the distance 10.341?

Am i correct? or i'm interpreting the results wrong?

Any help is appreciated, thank you!