-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError: not enough values to unpack (expected 8, got 3) #205
Comments
Hi @CarloNicolini. I am unable to reproduce this error. I understand you are using Linux and Python 3.10, an environment tested with GitHub actions. You can pass specific parameters using binning_fit_params = {v: {'prebinning_method': 'uniform'} for v in variables} http://gnpalencia.org/optbinning/tutorials/tutorial_binning_process_FICO_xAI.html#Modeling |
With this step, the error goes away for my categorical variables. However I am able to reproduce it when switching back to "prebinning_method": "cart". |
Thanks. Could you please send a reproducible example? I am not a macOs user, but I could try that example via GitHub actions. |
Hi @CarloNicolini. The To confirm, you should see a similar message when setting |
Many thanks, I've just updated to 0.17.0 and it works without the "uniform" prebinning specification. |
I am using the
ContinuosBinning
with a number of categorical and numerical variables asX
and a float bounded in[0,1]
asy
.With some of the categorical variables I sometimes get the following error when fitting:
Originally, I was using a
BinningProcess
+Scorecard
pipeline, but going in the details of the issue I've found it originates in theContinuosBinning
class, so I've posted as a problem with it.By changing the
prebinning_method = "uniform"
inContinuosBinning
the issue vanishes, but how do I pass this argument in theBinningProcess
?The text was updated successfully, but these errors were encountered: