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.7 kB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. ABL Kit
  2. =======
  3. **ABL Kit** is an efficient Python toolkit 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. .. image:: _static/img/ABL.png
  8. Key Features of ABL Kit:
  9. - **Great Flexibility**: Adaptable to various machine learning modules and logical reasoning components.
  10. - **User-Friendly**: Provide **data**, :blue-bold:`model`, and :green-bold:`KB`, and get started with just a few lines of code.
  11. - **High-Performance**: Optimization for high accuracy and fast training speed.
  12. ABL Kit encapsulates advanced ABL techniques, providing users with
  13. an efficient and convenient toolkit to develop dual-driven ABL systems,
  14. which leverage the power of both data and knowledge.
  15. .. image:: _static/img/ABLKit.png
  16. Installation
  17. ------------
  18. Install from PyPI
  19. ^^^^^^^^^^^^^^^^^
  20. The easiest way to install ABL Kit is using ``pip``:
  21. .. code:: bash
  22. pip install ablkit
  23. Install from Source
  24. ^^^^^^^^^^^^^^^^^^^
  25. Alternatively, to install from source code,
  26. sequentially run following commands in your terminal/command line.
  27. .. code:: bash
  28. git clone https://github.com/AbductiveLearning/ABLKit.git
  29. cd ABLKit
  30. pip install -v -e .
  31. (Optional) Install SWI-Prolog
  32. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  33. 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:
  34. For Linux users:
  35. .. code:: bash
  36. sudo apt-get install swi-prolog
  37. For Windows and Mac users, please refer to the `SWI-Prolog Install Guide <https://github.com/yuce/pyswip/blob/master/INSTALL.md>`_.
  38. References
  39. ----------
  40. For more information about ABL, please refer to: `Zhou, 2019 <http://scis.scichina.com/en/2019/076101.pdf>`_
  41. and `Zhou and Huang, 2022 <https://www.lamda.nju.edu.cn/publication/chap_ABL.pdf>`_.
  42. .. code-block:: latex
  43. @article{zhou2019abductive,
  44. title = {Abductive learning: towards bridging machine learning and logical reasoning},
  45. author = {Zhou, Zhi-Hua},
  46. journal = {Science China Information Sciences},
  47. volume = {62},
  48. number = {7},
  49. pages = {76101},
  50. year = {2019}
  51. }
  52. @incollection{zhou2022abductive,
  53. title = {Abductive Learning},
  54. author = {Zhou, Zhi-Hua and Huang, Yu-Xuan},
  55. booktitle = {Neuro-Symbolic Artificial Intelligence: The State of the Art},
  56. editor = {Pascal Hitzler and Md. Kamruzzaman Sarker},
  57. publisher = {{IOS} Press},
  58. pages = {353--369},
  59. address = {Amsterdam},
  60. year = {2022}
  61. }

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