Python implementation of the CN2 (Clark and Niblett 1989) Induction Algorithm [1].
The provided code includes datasets from the UCI machine learning repository [2] and a cn2_tests.py
example file.
In order to execute the example test code follow these steps:
-
Install the required packages
$ pip install -r requirements.txt
-
Execute the tests script
$ python cn2_tests.py
[1] Clark, P., & Niblett, T. (1989). The CN2 induction algorithm. Machine Learning, 3(4), 261-283. doi: 10.1007/bf00116835
[2] Dheeru Dua and Casey Graff. UCI machine learning repository, 2017. https://archive.ics.uci.edu/ml/datasets