Nonparametric estimation via empirical risk minimization | Synapse