feat: add to_dict method for binning table serialization#371
Conversation
|
I saw that the test failed because "http://lib.stat.cmu.edu/datasets/boston" is no longer available. I found a similar dataset on Kaggle. When I use this dataset, all but one of the tests pass. Can I open a separate PR to fix the test issue? optbinning/tests/datasets/datasets.py Lines 1 to 20 in 0720b8d |
Hi @sudo-hannes. Thanks for your contribution! Please feel free to work on that PR :). In addition, we could consider saving a csv file and loading it directly without relying on external sources. |
b00530b
into
guillermo-navas-palencia:develop
Add to_dict method for binning table serialization
Summary
Implements a
to_dict()method that converts optimal bins, split points, and transformations to dictionary format for easy serialisation and export.