Closed raheems closed 1 year ago
I cannot reproduce this problem. Anyway, this seems like a problem of pdpbox
and not gpboost
. I suggest you open an issue at PDPbox (although there is already one: https://github.com/SauceCat/PDPbox/issues/61).
Alternatively, you might try doing this with the scikit-learn API; see https://stackoverflow.com/questions/68444662/python-error-when-importing-pdp-get-dataset-info-plots-from-pdpbox
What version of pdpbox are you using?
That's the reason! I was using version 0.2.1 of pdpbox
and, apparently, the interface changed in a non-backwards compatible way with the new version 0.3.0. I update the demo code. It should work now.
Thanks for mentioning this!
Thank you, professor! Much appreciated :)
I am running the Python example provided at https://github.com/fabsig/GPBoost/blob/master/examples/python-guide/GPBoost_algorithm_blog_post_example.py
It raises an error shown below.
Is there a way to fix it?
I am running it on a databricks cluster. The output of
pip freeze
is below