-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
[Warning] UserWarning: Using categorical_feature in Dataset. #3718
Comments
Hi @ucasiggcas ! |
This is extremely odd. I've never come across a library that logs a warning when things are working correctly. I'd recommend at least updating the message to make it clear to the user that nothing is wrong. |
This is an open source project, you're welcome to propose a pull request changing its behavior. |
Apologies if my tone was impolite. It was unintentional but, upon rereading, I believe it may have been. Would a PR to remove this warning be merged? |
Thanks for saying that!
Definitely, I agree with your assessment. But I looked tonight and found that actually...this warning has already been removed from This issue is a duplicate of #3379, and the warning was removed in #4768 (November 2021). Unfortunately, most changes merged to |
That's great! Thank you very much. |
This issue has been automatically locked since there has not been any recent activity since it was closed. |
hi,dear all
I tried according to the link docs, but has the warning, could you pls help me ?
train_data = lgb.Dataset(data, label=label, feature_name=['c1', 'c2', 'c3'], categorical_feature=['c3'])
The text was updated successfully, but these errors were encountered: