Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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