Commit 36e67d74 authored by Your Name's avatar Your Name

test

parent 02ce8e60
...@@ -166,11 +166,15 @@ def main(te_file): ...@@ -166,11 +166,15 @@ def main(te_file):
# for prob in preds: # for prob in preds:
# fo.write("%f\t%f\t%f\n" % (prob['pctr'], prob['pcvr'], prob['pctcvr'])) # fo.write("%f\t%f\t%f\n" % (prob['pctr'], prob['pcvr'], prob['pctcvr']))
indices = [] ctcvr = []
for prob in preds: for prob in preds:
indices.append([prob['pctr'], prob['pcvr'], prob['pctcvr']]) ctcvr.append(prob['pctcvr'])
print(prob['pctcvr']) return ctcvr
return indices
# indices = []
# for prob in preds:
# indices.append([prob['pctr'], prob['pcvr'], prob['pctcvr']])
# return indices
def test_map(x): def test_map(x):
return x * x return x * x
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment