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

Problem when run demo.py #1

Open
binhmuc opened this issue Dec 17, 2019 · 4 comments
Open

Problem when run demo.py #1

binhmuc opened this issue Dec 17, 2019 · 4 comments

Comments

@binhmuc
Copy link

binhmuc commented Dec 17, 2019

Hi all,
I got this problem:
"lightgbm.basic.LightGBMError: Do not support special JSON characters in feature name."
How should i do now :(

@hexiaoyupku
Copy link

I got the same error. Have you solved the problem?

@binhmuc
Copy link
Author

binhmuc commented Jan 8, 2020

I cannot :'(

@mglowacki100
Copy link

@binhmuc
@hexiaoyupku
I'm not DeepBlueAI team member and I don't have full info to replicate this issue exactly, but it seems it could be replicated just with newest LightGBM version 2.3.1 on ubuntu.
To avoid this you need to downgrade LightGBM; for me it works with version 2.2.3
Hope this helps.

@YifanDengWHU
Copy link

It is because the LightGBM didn't support Chinese characters in the feature name, just replace them with numbers like:

X_train.columns = list(range(X_train.shape[1]))

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

4 participants