Loading topic
w·x + b. Here we build the quantity that logistic regression models as a linear function. The next chapter turns it into the sigmoid.4 min readw·x + b from linear regression, and the odds and log-odds definitions from the previous chapter. Here you will see how the sigmoid function converts a score of any size into a probability. You will also see why it is the inverse4 min readp = sigmoid(w·x + b) is the predicted probability of class 1. You should also be comfortable with basic probability (independent events multiply) and with logarithms. Here you will see where the training objective co5 min readXᵀ(p − y)/n. It also assumes basic NumPy and scikit-learn. Here you will extend the model to K classes in two ways and learn when to prefer each.4 min read