How Does Logistic Regression Work In Machine Learning