The uniform convergence of nearest neighbor regression function estimators and their application in optimization | Synapse