Adds results section, additional sources:

This commit is contained in:
LSaldyt
2017-12-09 19:54:49 -07:00
parent 6a826966a1
commit 58b0fd20eb
3 changed files with 92 additions and 14 deletions

View File

@ -18,8 +18,9 @@ def main(args):
pSet = pickle.load(infile)
branchProblemSets[filename] = pSet
problemSets.append((filename, pSet))
#pprint(problemSets)
#pprint(cross_chi_squared(problemSets))
pprint(problemSets)
pprint(cross_chi_squared(problemSets))
'''
crossTable = cross_chi_squared_table(problemSets)
key_sorted_items = lambda d : sorted(d.items(), key=lambda t:t[0])
@ -43,6 +44,7 @@ def main(args):
cells.append(str(result))
outfile.write(','.join(cells) + '\n')
return 0
'''
if __name__ == '__main__':
sys.exit(main(sys.argv[1:]))