-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
ignore_column does not work when loading a dataset from a binary file #4657
Comments
Thanks very much for the excellent issue write-up with example code! We'll take a look at this soon. By the way, I've slightly changed the formatting of your issue to make it a bit easier to read. If you're new to GitHub and / or not familiar with markdown, you might find this guide helpful: https://docs.github.com/en/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#quoting-code. |
This happens with the CLI as well, both the error when passing |
Thank you for the follow-up, and thanks also for the formatting edits on the original post. |
This issue has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this. |
Description
I need to load select columns of a LightGBM dataset from a binary file. I am trying to use the ignore_column parameter for this, but this results in the following (where c1 is the first column name I'm trying to ignore):
Reproducible example
Environment info
LightGBM version or commit hash: 5b7a6f3
Command(s) you used to install LightGBM: I built it from source
Additional Comments
I also tried the following:
This doesn't crash, but it just loads all the features, and when training a model on this dataset, all the features are used, so it doesn't seem like ignore_column had any effect in this case.
The text was updated successfully, but these errors were encountered: