From 8b12b5723cd2d8174261c7a8ecdf8b37b68fcd90 Mon Sep 17 00:00:00 2001 From: Tony-HYX <605698554@qq.com> Date: Wed, 20 Dec 2023 22:00:30 +0800 Subject: [PATCH 1/5] [ENH] Update python version --- .github/workflows/build-and-test.yaml | 2 +- setup.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index dee440a..35cbc78 100644 --- a/.github/workflows/build-and-test.yaml +++ b/.github/workflows/build-and-test.yaml @@ -12,7 +12,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python-version: [3.8, 3.9] + python-version: [3.6, 3.7, 3.8, 3.9, 3.10, 3.11] steps: - uses: actions/checkout@v2 - name: Set up Python diff --git a/setup.py b/setup.py index 0a6f9e0..14bfbdf 100644 --- a/setup.py +++ b/setup.py @@ -11,8 +11,8 @@ def read(rel_path: str) -> str: # Package meta-data. NAME = "abl" -DESCRIPTION = "abl package project" -REQUIRES_PYTHON = ">=3.8.0" +DESCRIPTION = "abductive learning package project" +REQUIRES_PYTHON = ">=3.6.0" VERSION = None From 92f6781084ca66d8a69dc0bd16fea38f560e43bf Mon Sep 17 00:00:00 2001 From: Tony-HYX <605698554@qq.com> Date: Wed, 20 Dec 2023 22:08:25 +0800 Subject: [PATCH 2/5] [FIX] Update actions python version --- .github/workflows/build-and-test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index 35cbc78..ebc12ce 100644 --- a/.github/workflows/build-and-test.yaml +++ b/.github/workflows/build-and-test.yaml @@ -12,7 +12,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python-version: [3.6, 3.7, 3.8, 3.9, 3.10, 3.11] + python-version: [3.7, 3.8, 3.9, 3.10, 3.11] steps: - uses: actions/checkout@v2 - name: Set up Python From 5821c1428a88d027d573a08ba526262d351feb7c Mon Sep 17 00:00:00 2001 From: Tony-HYX <605698554@qq.com> Date: Wed, 20 Dec 2023 22:10:07 +0800 Subject: [PATCH 3/5] [FIX] Update python version --- .github/workflows/build-and-test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index ebc12ce..5d412ff 100644 --- a/.github/workflows/build-and-test.yaml +++ b/.github/workflows/build-and-test.yaml @@ -12,7 +12,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python-version: [3.7, 3.8, 3.9, 3.10, 3.11] + python-version: [3.7, 3.8, 3.9] steps: - uses: actions/checkout@v2 - name: Set up Python From 159fc643af6f410a71f9f6957ab5df64de941b9e Mon Sep 17 00:00:00 2001 From: Tony-HYX <605698554@qq.com> Date: Wed, 20 Dec 2023 22:27:48 +0800 Subject: [PATCH 4/5] [ENH] Update versions --- abl/__version__.py | 2 +- setup.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/abl/__version__.py b/abl/__version__.py index 189beb8..0deec50 100644 --- a/abl/__version__.py +++ b/abl/__version__.py @@ -1,3 +1,3 @@ -VERSION = (0, 0, 1) +VERSION = (0, 1, 0) __version__ = ".".join(map(str, VERSION)) diff --git a/setup.py b/setup.py index 14bfbdf..27435f0 100644 --- a/setup.py +++ b/setup.py @@ -78,6 +78,8 @@ if __name__ == "__main__": "Topic :: Software Development", "Topic :: Scientific/Engineering", "Operating System :: POSIX :: Linux", + "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", ], ) From 2384969aa5cac7c1f9289019f9e8d5ec496d4437 Mon Sep 17 00:00:00 2001 From: Tony-HYX <605698554@qq.com> Date: Wed, 20 Dec 2023 23:15:57 +0800 Subject: [PATCH 5/5] [ENH] Update readme --- README.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index ba66a1d..65cdb8e 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,8 @@ This is the code repository of abductive learning Package. +To learn how to use it, please refer to - [document](https://www.lamda.nju.edu.cn/abl_test/docs/build/html/Overview/Abductive-Learning.html). + ## Installation Case a: If you develop and run abl directly, install it from source: @@ -21,18 +23,16 @@ Case b (TO DO): If you use abl as a dependency or third-party package, install ```bash pip install abl ``` +Case c (for test): If you use abl as a dependency or third-party package, install it with pip: +```bash +pip install -i https://test.pypi.org/simple/ abl +``` ## Example + MNIST ADD - [here](https://github.com/AbductiveLearning/ABL-Package/blob/Dev/examples/mnist_add/mnist_add_example.ipynb) + Hand Written Formula - [here](https://github.com/AbductiveLearning/ABL-Package/blob/Dev/examples/hwf/hwf_example.ipynb) + Hand written Equation Decipherment - [here](https://github.com/AbductiveLearning/ABL-Package/tree/Dev/examples/hed) -## Authors - -- [Yu-Xuan Huang](http://www.lamda.nju.edu.cn/huangyx/) (Nanjing University) -- [](http://www.lamda.nju.edu.cn//) (Nanjing University) - - ## NOTICE They can only be used for academic purpose. For other purposes, please contact with LAMDA Group(www.lamda.nju.edu.cn). @@ -40,8 +40,6 @@ They can only be used for academic purpose. For other purposes, please contact w - [ ] Improve speed and accuracy - [ ] Add comparison with DeepProbLog, NGS,... (Accuracy and Speed) -- [x] Add Inference/Abduction example with FOL engine (e.g., Prolog) -- [x] Add zoopt optimization - [ ] Rearrange structure and make it a python package - [ ] Documents