Skip to content

Instantly share code, notes, and snippets.

@sgsg704
Created September 9, 2021 14:23
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 sgsg704/7df0a1276d67161d242ff2cf8d9b065c to your computer and use it in GitHub Desktop.
Save sgsg704/7df0a1276d67161d242ff2cf8d9b065c to your computer and use it in GitHub Desktop.
#first of all let us evaluate the target and find out if our data is imbalanced or not
cols= ["#6daa9f","#774571"]
sns.countplot(x= data["DEATH_EVENT"], palette= cols)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment