Closed Vihagle closed 1 year ago
Can you "Provide a reproducible test case that is the bare minimum necessary to generate the problem. If possible, please share a link to Jupyter notebook."?
OK, I share a notebook use open source dataset like "Boston House Price", please check~
@.***
From: LiXuefeng Date: 2022-08-03 13:19 To: DataCanvasIO/YLearn CC: Vihagle; Author Subject: Re: [DataCanvasIO/YLearn] Problem about plotting policy tree (Issue #32) Can you "Provide a reproducible test case that is the bare minimum necessary to generate the problem. If possible, please share a link to Jupyter notebook."? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
But, I can not find the notebook you shared here. Upload it as a attachment from github website please.
Sry, I just send a email with attachment, maybe I can send notebook to your email lixf@sovon.net
Thank you for your notebook, I reproduced the issue.
I fix this issue in the main branch.
At current timestamp, call plot_policy_tree with control=None
please.
OK, looking forward to seeing the next version of ylearn
update~
Please make sure that this is a bug.
System information
pip list
):Describe the current behavior
why.plot_policy_tree()
, and I specify control, like:why.plot_policy_tree(whatif_data, max_depth=2, treatment = 'CRIM',control = 3)
invalid index to scalar variable
Describe the expected behavior
Standalone code to reproduce the issue Provide a reproducible test case that is the bare minimum necessary to generate the problem. If possible, please share a link to Jupyter notebook.
Are you willing to submit PR?(Yes/No)
Other info / logs Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.