Probabilistic Dimensionality Reduction via Structure Learning