Logistic regression is a machine learning classification algorithm that is used to predict the probability of certain classes based on some dependent variables