The Perfect Recipe for Classification Using Logistic Regression