Browse Source

Update framework_hed.py

pull/3/head
troyyyyy GitHub 3 years ago
parent
commit
e436421fb5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      abl/framework_hed.py

+ 1
- 1
abl/framework_hed.py View File

@@ -214,7 +214,7 @@ def get_rules_from_data(model, abducer, mapping, train_X_true, samples_per_rule,
consistent_idx = []
consistent_pred_res = []
for idx in range(len(pred_res)):
if abducer.kb.logic_forward([pred_res[idx]]):
if abducer.kb.logic_forward(pred_res[idx]):
consistent_idx.append(idx)
consistent_pred_res.append(pred_res[idx])



Loading…
Cancel
Save