utility to run a family of knn+ machine learning algorithms