Skip to content

Instantly share code, notes, and snippets.

@prateekjoshi565
Created December 29, 2019 07:55
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 prateekjoshi565/d0ddf051d995dca7d3b32af00aa3da9a to your computer and use it in GitHub Desktop.
Save prateekjoshi565/d0ddf051d995dca7d3b32af00aa3da9a to your computer and use it in GitHub Desktop.
lr = LogisticRegression(class_weight="balanced")
lr.fit(xtrain, ytrain)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment