guillermo-navas-palencia / optbinning

Optimal binning: monotonic binning with constraints. Support batch & stream optimal binning. Scorecard modelling and counterfactual explanations.
http://gnpalencia.org/optbinning/
Apache License 2.0
452 stars 100 forks source link

Problem when executing binning_process.fit(X, Y) #237

Closed aheneche closed 1 year ago

aheneche commented 1 year ago

Hi!

I had a code that worked just fine but then a few days later I tried to executed it and it gave me this error:

the code: dt_train_binned = binning_process.fit(X, Y)

the error:

opt/anaconda3/lib/python3.9/site-packages/ortools/sat/python/cp_model.py:2198: RuntimeWarning: Unexpected end-group tag: Not all data was converted self.__solution = cp_model_pb2.CpSolverResponse.FromString(

I'm on a mac M1, could that be the problem? I had previosuly installed the library optbinning without issues

Thank you!

guillermo-navas-palencia commented 1 year ago

Hi @aheneche.

I am not sure, there might be some Google OR-Tools related issues with some macOS versions. Which OR-Tools version are you using? did you update to the latest one?