-
Notifications
You must be signed in to change notification settings - Fork 11
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
get_model_data
fails when trying to extract model data with monotonized features
#15
Comments
Hello, I noticed a similar behaviour for the
I can fix that by adding the missing zero to the respective array. However, I'm now facing other issues:
Is there any way I can work around this? Thank you very much in advance for your help! |
Hello, I inspected a little more and I may have found the root causes for the issues. For the variable modified via gamchanger:
I haven't tested this thoroughly, yet, but maybe this is still of help to you guys or anyone else? Thank you very much for your work and best regards! |
Hello,
I encountered an issue when trying to use the
get_model_data
function to extract model data from anExplainableBoostingClassifier
instance with monotonized features.Steps to Reproduce:
ExplainableBoostingClassifier
instance.monotonize
method for one of the features.get_model_data
.Expected Behavior:
The function should return the model data successfully.
Actual Behavior:
The function fails with a
TypeError
in this line, and upon further investigation, I noticed that the entry inebm.standard_deviations_
for the feature I appliedmonotonize
to is being set toNone
.Workaround:
Currently, I'm manually replacing the
None
value with a placeholder value, but I believe this should be handled gracefully by the library itself.Please let me know if any further information is required or if there's a known solution to this problem.
Thanks in advance for your help.
Best,
Krzysztof
The text was updated successfully, but these errors were encountered: