At NorthPeak the target fault_next_7d is a category: fault or no fault. Logistic regression is the classification cousin of linear regression. It computes the same weighted sum, then squeezes it through the sigmoid so that the output is a probability between 0 and 1. On the test quarter it gives normal days a mean probability of 0.019 and days before a fault 0.637. This lesson covers the sigmoid, predict_proba, and the hidden 0.5 threshold that predict applies for you.
Preview — the rest of the lesson is for enrolled readers.
Your access is tied to your account, not to this link. Sign in with the same email you used in class: your course is waiting, no need to enter the code again.
Sign inNo account yet? Create oneThe first modules of the course are open to everyone. For the rest you have three options: buy this course once and for all, subscribe, or enter the code handed out in class.