A note on Bayesian nonparametric regression function estimation