Skip to content

Instantly share code, notes, and snippets.

@purva91
Created September 10, 2019 12:37
Show Gist options
  • Save purva91/d79869206c52d46885acb0be7f94f88c to your computer and use it in GitHub Desktop.
Save purva91/d79869206c52d46885acb0be7f94f88c to your computer and use it in GitHub Desktop.
#2. distribution of target variable.
sns.countplot(data_df['target'])
# Add labels
plt.title('Countplot of Target')
plt.xlabel('target')
plt.ylabel('Patients')
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment