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

Having issue using info_plots.actual_plot #22

Closed
grechasneak opened this issue Jun 28, 2018 · 5 comments
Closed

Having issue using info_plots.actual_plot #22

grechasneak opened this issue Jun 28, 2018 · 5 comments

Comments

@grechasneak
Copy link

I am following your examples and getting a weird error.

"fig, axes, summary_df = info_plots.actual_plot(model=forest_reg, X=df_new, feature = '1', feature_name='1')"

image

image

Thanks a lot in advance!

@SauceCat
Copy link
Owner

SauceCat commented Aug 3, 2018

Can you test it now with the latest version?

@dineshgit
Copy link

Hello, I'm using the same method and I'm getting the below error:

Error_Image

This comment works perfectly well though:

fig, axes, summary_df = info_plots.target_plot(df=titanic_data, feature='Sex', feature_name='gender', target=titanic_target)
_ = axes['bar_ax'].set_xticklabels(['Female', 'Male'])

@SauceCat
Copy link
Owner

SauceCat commented Aug 13, 2018 via email

@dineshgit
Copy link

Thank you, please update once fix has been applied, I would try running the code again.

@SauceCat
Copy link
Owner

Fixed. A stupid mistake. For pip installed package, you can fix this bug by setting predict_kwds={}.

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

3 participants