Commit e72dad99 by DLA-Ranker

Update evaluation.py

parent 4e536990
...@@ -181,7 +181,7 @@ def process_targetcomplex(targetcomplex, comp_dir, report_dict): ...@@ -181,7 +181,7 @@ def process_targetcomplex(targetcomplex, comp_dir, report_dict):
all_scores, start, end = tst.predict(test_interface, X_test, y_test, reg_type, res_pos, info) all_scores, start, end = tst.predict(test_interface, X_test, y_test, reg_type, res_pos, info)
if all_scores is None: if all_scores is None:
raise Exception("Prediction faile!") raise Exception("Prediction failed!")
test_preds = all_scores.mean() test_preds = all_scores.mean()
predictions_file.write(test_interface + '\t' + predictions_file.write(test_interface + '\t' +
......
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