Unsupervised learning of phase transitions: from principal component analysis to variational autoencoders
neural networks and principal component analysis : learning from examples without local minima .