Skip to content
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

Output bins "variable columns" is nested structure from woebin with "Chimerge" method #115

Open
SenHan-lionheart opened this issue Nov 16, 2024 · 0 comments

Comments

@SenHan-lionheart
Copy link

SenHan-lionheart commented Nov 16, 2024

dat = sc.germancredit()
dt = dat[["creditability", "age_in_years", "credit_amount"]]
bins = sc.woebin(dt,method="chimerge",stop_limit=0.3, count_distr_limit=0.01, y="creditability")

I use woebin with method as "chimerge", and output variable column is not normal feature name like "age_in_years" but a nested array structure of "age_in_years". Is this due to "bin merging"? I am not sure whether this is a format issues, so raise this observation here. Please have a look and give me some inspection thx!
Sry image can not uploaded due to some reasons, i just give the "questioned partial output table" as following:

"variable", "bin",...
[[[[array([array([array([array([array([array([age_in_years]),type = object])...

Normally, it should be:

"variable",  "bin",...
age_in_years, ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant