ABL-Package =========== **ABL-Package** is an open source library for **Abductive Learning** that supports building a model leveraging information from both data and (logical) domain knowledge. Using ABL-Package, users may form a dual-driven (data & knowledge driven) learning system, integrating and balancing the use of machine learning and logical reasoning in a unified model. .. image:: img/ABL.png Installation ------------ ABL is distributed on `PyPI `__ and can be installed with ``pip``: .. code:: console # (TODO) $ pip install abl For testing purposes, you can install it using: .. code:: console $ pip install -i https://test.pypi.org/simple/ --extra-index-url https://mirrors.nju.edu.cn/pypi/web/simple/ abl Alternatively, to install ABL by source code, sequentially run following commands in your terminal/command line. .. code:: console $ git clone https://github.com/AbductiveLearning/ABL-Package.git $ cd ABL-Package $ pip install -v -e . (Optional) If the use of a :ref:`Prolog-based knowledge base ` is necessary, the installation of `Swi-Prolog `_ is also required: For Linux users: .. code:: console $ sudo apt-get install swi-prolog For Windows and Mac users, please refer to the `Swi-Prolog Download Page `_.