Skip to content

Instantly share code, notes, and snippets.

@aagnone3
Created October 30, 2020 00:16
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save aagnone3/6ac4fd3c9150955eba5e633096e6c6c7 to your computer and use it in GitHub Desktop.
sf_crime_8.py
plt.figure(figsize=(12, 8))
sns.distplot(train.loc[~train["TargetedCategory"], "RoadProba"], hist=False, label="Not Targeted")
sns.distplot(train.loc[train["TargetedCategory"], "RoadProba"], hist=False, label="Targeted")
plt.legend()
_ = plt.title("Label Separation for Log Road Probabilities")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment