Fit the logistic pipeline and return the odds ratio for the largest coefficient…
Machine Learning · from Logistic regression
LogisticRegressionsigmoidlog-oddsodds ratioCpredict_probaPutting the kettle on…
Starting up…
Exercise 1
Fit the logistic pipeline and return the odds ratio for the largest coefficient by magnitude, along with its name: [name, odds_ratio], ratio rounded to 2 places.
your answer
stuck? the lesson behind it
Logistic regression
The sigmoid, log-odds, and the one line of maths that makes coefficients readable