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] sorting parameters #953

Closed
wants to merge 1 commit into from
Closed

[python] sorting parameters #953

wants to merge 1 commit into from

Conversation

StrikerRUS
Copy link
Collaborator

Refer to this and this.

Now there shouldn't occur situations when adding print() for debugging (for instance) changes behavior.

@wxchan
Copy link
Contributor

wxchan commented Oct 2, 2017

I think it does not solve the issue, we should check user not set two parameters which are alias to each other in c++.

@StrikerRUS
Copy link
Collaborator Author

StrikerRUS commented Oct 2, 2017

@wxchan Yeah, I don't say it will solve the issue, it will guarantee the same behavior, independent from the platform, Python version, etc.

@wxchan
Copy link
Contributor

wxchan commented Oct 2, 2017

@StrikerRUS I am not sure if it works because parameters are also stored in unordered map in c++ too. https://github.com/Microsoft/LightGBM/blob/master/src/io/config.cpp#L16

@StrikerRUS
Copy link
Collaborator Author

@wxchan Oh, didn't notice that.

@StrikerRUS
Copy link
Collaborator Author

Close due to #961.

@StrikerRUS StrikerRUS closed this Oct 4, 2017
@StrikerRUS StrikerRUS deleted the python branch October 4, 2017 09:39
@lock lock bot locked as resolved and limited conversation to collaborators Mar 11, 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.

2 participants