Implement Knn Algorithm Using Python With Javascript