Adding Logistic Regression for machine learning