You will find a shut link between machine learning and compression. A program that predicts the posterior probabilities of a sequence provided its complete historical past can be used for optimal data compression (by making use of arithmetic coding over the output distribution).An illustration of Gaussian Approach Regression (prediction) in contras