You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.rst 2.2 kB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. ABL-Package
  2. ===========
  3. **ABL-Package** is an open source library for **Abductive Learning (ABL)**.
  4. ABL is a novel paradigm that integrates machine learning and
  5. logical reasoning in a unified framework. It is suitable for tasks
  6. where both data and (logical) domain knowledge are available.
  7. Key Features of ABL-Package:
  8. - **Great Flexibility**: Adaptable to various machine learning modules and logical reasoning components.
  9. - **User-Friendly**: Provide data, model, and KB, and get started with just a few lines of code.
  10. - **High-Performance**: Optimization for high accuracy and fast training speed.
  11. ABL-Package encapsulates advanced ABL techniques, providing users with
  12. an efficient and convenient package to develop dual-driven ABL systems,
  13. which leverage the power of both data and knowledge.
  14. .. image:: _static/img/ABL.png
  15. Installation
  16. ------------
  17. ABL is distributed on `PyPI <https://pypi.org/>`__ and can be installed with ``pip``:
  18. .. code:: console
  19. # (TODO)
  20. $ pip install abl
  21. For testing purposes, you can install it using:
  22. .. code:: console
  23. $ pip install -i https://test.pypi.org/simple/ --extra-index-url https://mirrors.nju.edu.cn/pypi/web/simple/ abl
  24. Alternatively, to install ABL by source code,
  25. sequentially run following commands in your terminal/command line.
  26. .. code:: console
  27. $ git clone https://github.com/AbductiveLearning/ABL-Package.git
  28. $ cd ABL-Package
  29. $ pip install -v -e .
  30. (Optional) If the use of a :ref:`Prolog-based knowledge base <prolog>` is necessary, the installation of `Swi-Prolog <https://www.swi-prolog.org/>`_ is also required:
  31. For Linux users:
  32. .. code:: console
  33. $ sudo apt-get install swi-prolog
  34. For Windows and Mac users, please refer to the `Swi-Prolog Install Guide <https://github.com/yuce/pyswip/blob/master/INSTALL.md>`_.
  35. References
  36. ----------
  37. For more information about ABL, please refer to: `Zhou, 2019 <https://link.springer.com/epdf/10.1007/s11432-018-9801-4?author_access_token=jgJe1Ox3Mk-K7ORSnX7jtfe4RwlQNchNByi7wbcMAY7_PxTx-xNLP7Lp0mIZ04ORp3VG4wioIBHSCIAO3B_TBJkj87YzapmdnYVSQvgBIO3aEpQWppxZG25KolINetygc2W_Cj2gtoBdiG_J1hU3pA==>`_
  38. and `Zhou and Huang, 2022 <https://www.lamda.nju.edu.cn/publication/chap_ABL.pdf>`_.

An efficient Python toolkit for Abductive Learning (ABL), a novel paradigm that integrates machine learning and logical reasoning in a unified framework.