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

test

parent 02ce8e60
......@@ -166,11 +166,15 @@ def main(te_file):
# for prob in preds:
# fo.write("%f\t%f\t%f\n" % (prob['pctr'], prob['pcvr'], prob['pctcvr']))
indices = []
ctcvr = []
for prob in preds:
indices.append([prob['pctr'], prob['pcvr'], prob['pctcvr']])
print(prob['pctcvr'])
return indices
ctcvr.append(prob['pctcvr'])
return ctcvr
# indices = []
# for prob in preds:
# indices.append([prob['pctr'], prob['pcvr'], prob['pctcvr']])
# return indices
def test_map(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