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.

Installation.rst 1.1 kB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. Installation
  2. ==================
  3. Install from PyPI
  4. ^^^^^^^^^^^^^^^^^
  5. The easiest way to install ABL-Package is using ``pip``:
  6. .. code:: bash
  7. # (TODO)
  8. pip install abl
  9. For testing purposes, you can install it using:
  10. .. code:: bash
  11. pip install -i https://test.pypi.org/simple/ --extra-index-url https://mirrors.nju.edu.cn/pypi/web/simple/ abl
  12. Install from Source
  13. ^^^^^^^^^^^^^^^^^^^
  14. Alternatively, to install from source code,
  15. sequentially run following commands in your terminal/command line.
  16. .. code:: bash
  17. git clone https://github.com/AbductiveLearning/ABL-Package.git
  18. cd ABL-Package
  19. pip install -v -e .
  20. (Optional) Install SWI-Prolog
  21. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  22. 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:
  23. For Linux users:
  24. .. code:: bash
  25. sudo apt-get install swi-prolog
  26. For Windows and Mac users, please refer to the `SWI-Prolog Install Guide <https://github.com/yuce/pyswip/blob/master/INSTALL.md>`_.

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