diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index dee440a..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.8, 3.9] + python-version: [3.7, 3.8, 3.9] steps: - uses: actions/checkout@v2 - name: Set up Python 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 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 0a6f9e0..27435f0 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 @@ -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", ], )