cosmo classify knn hdr

function predicted = cosmo_classify_knn(samples_train, targets_train, samples_test, opt)