-
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
When loading a binary file, take feature penalty from config if given there. #1881
Conversation
Thanks, this is indeed useful. |
@remcob-gr Can you please update this PR and include the same logic for other similar params? |
@StrikerRUS : I'll take care of the other parameters now. |
204de56 adds support for monotone_constraints as requested by @guolinke . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@remcob-gr Many thanks!
Please fix indents below.
@StrikerRUS : The indents should be fixed now, could you check? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot @remcob-gr for your contribution!
This PR introduced warnings with both gcc and Clang:
https://travis-ci.org/Microsoft/LightGBM/jobs/480404567#L737 |
it needs a static_cast for |
This is #1862 , rebased on top of master.
This enables users to override the feature penalty when loading a dataset from a binary file.
For instance, it enables disabling/enabling features via:
The above is especially useful when the data set is large, so the cost of recreating the data set from the source data is large.