Skip to content

Instantly share code, notes, and snippets.

@anirudhev
Created May 22, 2019 16:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anirudhev/9f77a2ca96e2292df0f18de6f2c7f739 to your computer and use it in GitHub Desktop.
Save anirudhev/9f77a2ca96e2292df0f18de6f2c7f739 to your computer and use it in GitHub Desktop.
logit model
log_it = -0.20 +
0.44*miles_away_from_store +
0.14*trips_past_year +
0.34*rewards_card_holder +
0.35*lives_in_rural_area
and user_score = 1/(1+e^(-log_it))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment