Adaptive probabilistic principal component analysis