Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
|
|
2 years ago | |
|---|---|---|
| .. | ||
| README.md | 2 years ago | |
| get_dataset.py | 2 years ago | |
| kb.py | 2 years ago | |
| main.py | 2 years ago | |
| requirements.txt | 2 years ago | |
| zoo.ipynb | 2 years 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 contains 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