Stav dette: Bayesian photometric redshifts with empirical training sets