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
[python-package] bug : dump_model json loads failed #6431
Labels
Comments
Thanks for using LightGBM. I don't fully understand this report. Can you provide a minimal, reproducible example showing this behavior? For example, modify this code in a way that causes LightGBM to generate this error: import lightgbm as lgb
from sklearn.datasets import make_regression
X, y = make_regression()
model = lgb.LGBMRegressor().fit(X , y) |
jameslamb
changed the title
bug : dump_model json loads failed
[python-package] bug : dump_model json loads failed
Apr 29, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
error when "json.loads()" with "\" special charset using key
for exam
{ "\" : "aa" }
so should be exist escape code
Reproducible example
it happend used "shap.TreeExplainer", it is anothor open source, but referce it so write issue
Environment info
LightGBM version or commit hash:
using lightgbm-4.3.0.dist-info
Command(s) you used to install LightGBM
Additional Comments
it is happend under here, into basic.py
origin code
fix code
how about it ?, Can i do pull request ?
The text was updated successfully, but these errors were encountered: