Skip to content

Instantly share code, notes, and snippets.

@language-engineering
Created September 26, 2012 09:16
Show Gist options
  • Select an option

  • Save language-engineering/3786961 to your computer and use it in GitHub Desktop.

Select an option

Save language-engineering/3786961 to your computer and use it in GitHub Desktop.
from numpy import average, std #import functions for obtaining average and standard deviation
#Store a list of example vocabulary sizes of 4 samples
stats = [0.4, 0.45, 0.41, 0.38]
#Print the average of the statistics
print "Average: %s" % average(stats)
#Print the standard deviation of the statistics
print "Standard deviation: %s" % std(stats)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment