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

toad0.1.1中分箱后使用bin_plot可视化,请问如何让只分两箱的特征使用bin_plot可视化时显示两个柱子(我这边目前只能显示一个)? #136

Open
Jarye0612 opened this issue Dec 19, 2023 · 1 comment

Comments

@Jarye0612
Copy link

toad0.1.1中分箱后使用bin_plot可视化,A特征只分了两箱[-inf,1],[1,inf],但是画出的图只有一个柱形,请问就是这样还是我这边代码本身存在问题,如何让只分两箱的特征bin_plot时显示两个柱子?

问题由来:使用的数据用bin_plot可视化后很多特征都只有一个柱子,开始以为很多特征分箱后只有一个箱且没单调,仔细检查后发现,分两箱的特征bin_plot只画一个,也算分箱后单调了,只看bin_plot图时误解了分箱效果

@Secbone
Copy link
Member

Secbone commented Mar 7, 2024

@Jarye0612 看一下是不是你的数据只能分一箱,猜测有可能是数据只有 >1 或者 <1 的数据

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

2 participants