Գրեք սա: Bayesian photometric redshifts with empirical training sets