Last active
March 27, 2019 01:38
-
-
Save chyld/cd3d8ba386ec187a5c7de754ed7a0f5f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You want to predict whether your 2011 Toyota Camry will get better than 35 mpg. | |
You collect data about various cars, and run it through a Logistic Regression model. | |
Here are the coefficients 0.00000035, 0.0002, 0.31 related to the features weight, hp, acceleration respectively. | |
When all features are zero, y is zero. | |
Your car, the Camry, weighs 2100 lbs, has 125 hp and has 9.1 acceleration. | |
Let's say your threshold for positive class is 0.95. | |
What's the probability that your car will get more than 35 mpg? Is that a yes or no? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment