Home | History | Annotate | Download | only in shaping

Lines Matching refs:Stats

172 class Stats:
198 Population is the Stats for population.
199 Self is Stats for sample.
215 # XXX port to Stats, but that would really slow us down here
227 allstats = Stats ()
236 allgrams[ngram] = Stats ()
240 for ngram, stats in allgrams.iteritems ():
241 if stats.failed.count >= 30: # for statistical reasons
242 importantgrams[ngram] = stats
246 for ngram, stats in allgrams.iteritems ():
247 print ("zscore: %9f failed: %6d passed: %6d ngram: <%s>" % (stats.zscore (allstats), stats.failed.count, stats.passed.count, ','.join ("U+%04X" % u for u in ngram)))