Browse Source

Merge branch 'Dev' of https://github.com/AbductiveLearning/ABL-Package into Dev

pull/1/head
Gao Enhao 1 year ago
parent
commit
bc6382d289
4 changed files with 12 additions and 12 deletions
  1. +1
    -1
      .github/workflows/build-and-test.yaml
  2. +6
    -8
      README.md
  3. +1
    -1
      abl/__version__.py
  4. +4
    -2
      setup.py

+ 1
- 1
.github/workflows/build-and-test.yaml View File

@@ -12,7 +12,7 @@ jobs:
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest] os: [ubuntu-latest]
python-version: [3.8, 3.9]
python-version: [3.7, 3.8, 3.9]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Set up Python - name: Set up Python


+ 6
- 8
README.md View File

@@ -6,6 +6,8 @@


This is the code repository of abductive learning Package. 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 ## Installation


Case a: If you develop and run abl directly, install it from source: 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 ```bash
pip install abl 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 ## Example
+ MNIST ADD - [here](https://github.com/AbductiveLearning/ABL-Package/blob/Dev/examples/mnist_add/mnist_add_example.ipynb) + 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 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) + 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 ## NOTICE
They can only be used for academic purpose. For other purposes, please contact with LAMDA Group(www.lamda.nju.edu.cn). 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 - [ ] Improve speed and accuracy
- [ ] Add comparison with DeepProbLog, NGS,... (Accuracy and Speed) - [ ] 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 - [ ] Rearrange structure and make it a python package
- [ ] Documents - [ ] Documents



+ 1
- 1
abl/__version__.py View File

@@ -1,3 +1,3 @@
VERSION = (0, 0, 1)
VERSION = (0, 1, 0)


__version__ = ".".join(map(str, VERSION)) __version__ = ".".join(map(str, VERSION))

+ 4
- 2
setup.py View File

@@ -11,8 +11,8 @@ def read(rel_path: str) -> str:


# Package meta-data. # Package meta-data.
NAME = "abl" NAME = "abl"
DESCRIPTION = "abl package project"
REQUIRES_PYTHON = ">=3.8.0"
DESCRIPTION = "abductive learning package project"
REQUIRES_PYTHON = ">=3.6.0"
VERSION = None VERSION = None




@@ -78,6 +78,8 @@ if __name__ == "__main__":
"Topic :: Software Development", "Topic :: Software Development",
"Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering",
"Operating System :: POSIX :: Linux", "Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
], ],
) )

Loading…
Cancel
Save