This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
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
[FIX] fix a bug
pull/3/head
Gao Enhao
2 years ago
parent
6bd0ff66d6
commit
c569b45801
1 changed files
with
12 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+12
-4
examples/hed/hed_example.ipynb
+ 12
- 4
examples/hed/hed_example.ipynb
View File
@@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count":
null
,
"execution_count":
10
,
"metadata": {},
"outputs": [],
"source": [
@@ -27,7 +27,7 @@
},
{
"cell_type": "code",
"execution_count":
null
,
"execution_count":
11
,
"metadata": {},
"outputs": [],
"source": [
@@ -45,9 +45,17 @@
},
{
"cell_type": "code",
"execution_count":
null
,
"execution_count":
12
,
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"ERROR: /home/gaoeh/ABL-Package/examples/hed/datasets/learn_add.pl:67:9: Syntax error: Operator expected\n"
]
}
],
"source": [
"# Initialize knowledge base and abducer\n",
"kb = HED_prolog_KB(pseudo_label_list=[1, 0, '+', '='], pl_file='./datasets/learn_add.pl')\n",
Write
Preview
Loading…
Cancel
Save