This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
AbductiveLearning
/
ABLkit
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
0
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
Update framework_hed.py
pull/3/head
troyyyyy
GitHub
3 years ago
parent
410796c740
commit
1eafe55c71
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
0 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
Write
Preview
Loading…
Cancel
Save