From: Izaak Hutchinson on
Hi this is my first post. I am currently in my third year of studies and thought that I would learn to use matLab as it seems like a useful tool to have under the belt so to speak. I am attempting to carry out online prediction using experts, but am having slight difficulty with the multi-point tie-break situation that KNN throws up (My thought was to use KNN as an expert of such). I would like to know if there is a general template for creating this. I know in matLab we have the knnClassifier function which automatically does this for you, but I would like to know how to write it myself for future reference.
I feel it is important to note that this project is strictly extra curricular and so any help would not be connected to my third year project which is in lexical analysis.

Any help would be greatly appreciated. Thankyou.