Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
|
1 year ago | |
---|---|---|
.. | ||
README.md | 1 year ago | |
get_dataset.py | 1 year ago | |
kb.py | 1 year ago | |
main.py | 1 year ago | |
requirements.txt | 1 year ago | |
zoo.ipynb | 1 year ago |
This example shows a simple implementation of Zoo. In this task, attributes of animals (such as presence of hair, eggs, etc.) and their targets (the animal class they belong to) are given, along with a knowledge base which contain information about the relations between attributes and targets, e.g., Implies(milk == 1, mammal == 1). The goal of this task is to develop a learning model that can predict the targets of animals based on their attributes.
pip install -r requirements.txt
python main.py
usage: main.py [-h] [--loops LOOPS]
Zoo example
optional arguments:
-h, --help show this help message and exit
--loops LOOPS number of loop iterations (default : 3)
An efficient Python toolkit for Abductive Learning (ABL), a novel paradigm that integrates machine learning and logical reasoning in a unified framework.
Python other