Skip to content

Commit

Permalink
modified stats generator
Browse files Browse the repository at this point in the history
  • Loading branch information
abhimanyudubey committed Oct 11, 2016
1 parent 752ee30 commit 209037b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/vis_generate_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
mean_score = np.asarray(cityscores).mean()
sigma_score = np.asarray(cityscores).std()
citywise_stats[cityname] = (mean_score,sigma_score)
f.write(cityname+","+str(mean_score)+","+str(sigma_score)+","+str(len(cityscores)))
f.write(cityname+","+str(mean_score)+","+str(sigma_score)+","+str(len(cityscores))+'\n')
plt.hist(np.asarray(cityscores),bins,alpha=0.4,label=cityname+' '+str(mean_score)+' '+str(sigma_score))

plt.legend(loc='upper right')
Expand Down

0 comments on commit 209037b

Please sign in to comment.