What is Logistic Regression?

Logistic regression is used in statistics. A logistic curve is used to predict the probability that something will happen. These predictions can be based on numbers or categories. For example, to predict whether a person is likely to have a heart attack, someone can consider the age, sex, or race of a person.