You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using manual bins that were previously working and can't seem to figure out what I'm doing wrong. The issue only exists for categorical variables. If I define features/bins like so:
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (2,) + inhomogeneous part.
I can't seem to figure out what I'm missing here. I'm using Optbinning 0.15.1 and python 3.8.
Thanks!
The text was updated successfully, but these errors were encountered:
update: I was also using numpy version 1.24.1 - the binning parameters are passed in a format that was not supported by numpy. Downgrading to 1.23.1 fixes the issue for now.
Hi there,
I'm using manual bins that were previously working and can't seem to figure out what I'm doing wrong. The issue only exists for categorical variables. If I define features/bins like so:
And I'm creating my binning process object like so:
I get the error when trying to fit the data (I've tried with both
fit_transform()
andfit()
:The full error is as follows:
I can't seem to figure out what I'm missing here. I'm using Optbinning 0.15.1 and python 3.8.
Thanks!
The text was updated successfully, but these errors were encountered: