Entropy Function Machine Learning Tutorial