예제 #1
0
def generateStandardDistribution():
    # distributions for all ages
    # value obtained: [(11, prob), (12, prob), ..., (50, prob)]
    standards = probYearForAllAges()
    serial.objIntoFile(standards, "outdist.txt")
예제 #2
0
def generateStandardGroupDistribution():
    prob_groups = probYearForAllGroups()
    serial.objIntoFile(prob_groups, "prob_groups.txt")