Commit c7c056a1 authored by Ngan Thi Dong's avatar Ngan Thi Dong
Browse files

update denovo novel

parent fb095fa9
...@@ -19,7 +19,7 @@ def eval_fold(args, res_queue, train_rate, iSet, vseq_dict, hseq_dict): ...@@ -19,7 +19,7 @@ def eval_fold(args, res_queue, train_rate, iSet, vseq_dict, hseq_dict):
writer_path = args.data_dir + 'denovo_trainrate_' + str(train_rate) + '_' + str(iSet) + '_res.csv' writer_path = args.data_dir + 'denovo_trainrate_' + str(train_rate) + '_' + str(iSet) + '_res.csv'
writer = open(writer_path, 'w') writer = open(writer_path, 'w')
for test_rate in [1, 2, 5, 10]: for test_rate in [1, 2, 5, 10]:
for iTest in range(1): for iTest in range(10):
neg_test_path = args.neg_test_path.replace('.csv', '_'.join(['', str(test_rate), str(iTest)]) + '.csv') neg_test_path = args.neg_test_path.replace('.csv', '_'.join(['', str(test_rate), str(iTest)]) + '.csv')
neg_test_features = get_denovo_feature(neg_test_path, vseq_dict, hseq_dict) neg_test_features = get_denovo_feature(neg_test_path, vseq_dict, hseq_dict)
print('finish loading neg train features') print('finish loading neg train features')
......
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