add entrop in machine learning controller