Entropy Function Machine Learning Models In Python