In an assignment I\'ve written the function below (learnvq) that calculates the proximity of some data points to other labelled data points and then assigns those labels to