Bayesian neural networks and dimensionality reduction