Browse Source

Update framework_hed.py

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

+ 0
- 1
framework_hed.py View File

@@ -303,7 +303,6 @@ def validation(model, abducer, mapping, train_X_true, train_X_false, val_X_true,

def get_final_rules(rules):
all_rule_dict = {}
rule_cnt = 0
for rule in rules:
for r in rule:
all_rule_dict[r] = 1 if r not in all_rule_dict else all_rule_dict[r] + 1


Loading…
Cancel
Save