Home | History | Annotate | Download | only in shaping

Lines Matching refs:Stats

168 class Stats:
194 Population is the Stats for population.
195 Self is Stats for sample.
211 # XXX port to Stats, but that would really slow us down here
223 allstats = Stats ()
232 allgrams[ngram] = Stats ()
236 for ngram, stats in allgrams.iteritems ():
237 if stats.failed.count >= 30: # for statistical reasons
238 importantgrams[ngram] = stats
242 for ngram, stats in allgrams.iteritems ():
243 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))