Skip to content

Doctorado-ML/FImdlp

Repository files navigation

FImdlp

CI CodeQL Codacy Badge codecov pypy https://img.shields.io/badge/python-3.9%2B-blue

Discretization algorithm based on the paper by Usama M. Fayyad and Keki B. Irani

Multi-Interval Discretization of Continuous-Valued Attributes for Classification Learning. In Proceedings of the 13th International Joint Conference on Artificial Intelligence (IJCAI-95), pages 1022-1027, Montreal, Canada, August 1995.

Installation

git clone --recurse-submodules https://github.com/doctorado-ml/FImdlp.git

Build and usage sample

Python sample

pip install -e .
python samples/sample.py iris  
python samples/sample.py iris -c 2
python samples/sample.py -h # for more options

C++ sample

cd samples
cmake -B build
cd build
make
./sample -f iris -c 2
./sample -h

Based on

https://github.com/rmontanana/mdlp