Skip to content

Instantly share code, notes, and snippets.

@edorivai
Last active February 28, 2019 12:12
Show Gist options
  • Save edorivai/7a5c1983a3adff2f145483c520a10f34 to your computer and use it in GitHub Desktop.
Save edorivai/7a5c1983a3adff2f145483c520a10f34 to your computer and use it in GitHub Desktop.
correct = [0, 0, 0];
incorrect = [0, 0, 0];
for i in range(10000):
(correct if train_data.correct[i] == 1 else incorrect)[train_data.group_name[i]].append(1);
plt.hist(correct[0], color='blue', label='correct_0')
...etc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment