Predict EPL results (Part 1: Logistic Regression Example in Python)
Logistic Regression It estimates the probability of an outcome (aka dependent variable) based on a set of one or more input (aka independent variables or "features") Can be used for binary classification problem (only 2 possible outcomes) or multiclass classification problem (more than 2 outcomes) For example, it can be used to predict the chances of a particular transaction is fraud given some input information like the customer's details, transaction details etc. If there are more than 2 outcomes like the EPL game (i.e. win, draw and lose), logistic regression also can be used as it can determine the possibilities of each outcome. Logistic Regression Function is defined as follows: Logistic Regression Function Note: f(x) represents the probability of an output y given each input x . From the formula above, it tells us that it can take in any input x (positive or negative) and produce an output y in the range of 0.0 to 1.0. Back to...