Closed marcdhansen closed 3 years ago
Hi @marcdhansen,
The MDLP algorithm only works with a binary target. The iris dataset has a multi-class target. You can use the MulticlassOptimalBinning
class instead.
http://gnpalencia.org/optbinning/binning_multiclass.html http://gnpalencia.org/optbinning/tutorials/tutorial_multiclass.html
Hi, I modified the test_mdlp.py code in the repository to work with the iris dataset, but no splits are being created.
I'm attaching a copy of the modified test code with the .py extension changed to .txt so that it will upload: test_mdlp.txt