A unified probabilistic view of nonparametric predictors via reproducing kernel Hilbert spaces