Unsupervised learning of phase transitions: from principal component analysis to variational autoencoders | Read Paper on Bytez