Logistic RegressionUnderstanding Our S-Curve
The numbers and of a straight line were easy to read. Inside an S-curve they are read through odds: the chance that something happens divided by the chance that it does not.
A 0.75 chance of passing gives odds of
The Doubling Ladder
Suppose a model has . Since , every extra hour of study multiplies the odds of passing by 2. At 2 hours the odds are 1 to 8. Climb the ladder.
Equal steps in hours multiply the odds by the same number each time — but the chance itself climbs fast in the middle and slowly at the ends. That is the S-shape again.
Reading the Coefficients
In general, a coefficient means: one more unit of the feature multiplies the odds by . For Kavya ma'am's 14 students, gradient descent found , so each extra hour multiplies the odds of passing by about
Select a tab to read other kinds of coefficients.
Yes/No features
A feature such as "attended the doubt-clearing class" is 1 or 0. If its coefficient is 1.1, then : a student who attended has three times the odds of passing of a student who did not.
Negative coefficients
A feature such as "hours spent on the phone" might get a coefficient of −0.7. Since , each extra hour on the phone halves the odds of passing. A negative coefficient shrinks the odds; zero leaves them unchanged.
Many features
With several features, each coefficient is read with every other feature held fixed: the hours coefficient tells you what one more hour of study does for two students who are alike in everything else.
Speed Round: Odds and Chances
Get five right to move on.