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

[python] Deep copy params in _update_params of DataSet #2310

Merged
merged 1 commit into from Aug 7, 2019

Conversation

maitbayev
Copy link
Contributor

@maitbayev maitbayev commented Aug 5, 2019

Otherwise, it would print basic.py:762: UserWarning: categorical_feature in param dict is overridden when you have pandas categorical features in your train dataset. Because when updating the params for a validation data, the updated params for the train data was being used which already contains 'categorical_column' computed.

Otherwise, it would print `basic.py:762: UserWarning: categorical_feature in param dict is overridden.`. Because when updating the params for a validation test, the updated params for the train test was used which contains `'categorical_column'`.
Copy link
Collaborator

@StrikerRUS StrikerRUS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@maitbayev Thanks a lot for fixing that annoying warning!

@StrikerRUS StrikerRUS changed the title Deep copy params in _update_params of DataSet [python] Deep copy params in _update_params of DataSet Aug 6, 2019
@StrikerRUS StrikerRUS merged commit 5cff4e8 into microsoft:master Aug 7, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Mar 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants