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] handle params aliases centralized #2489

Merged
merged 2 commits into from
Oct 22, 2019
Merged

[python] handle params aliases centralized #2489

merged 2 commits into from
Oct 22, 2019

Conversation

StrikerRUS
Copy link
Collaborator

Inspired by #2443 (comment).

@@ -196,6 +196,48 @@ class LightGBMError(Exception):
"feature_penalty": C_API_DTYPE_FLOAT64,
"monotone_constraints": C_API_DTYPE_INT8}

CONFIG_ALIASES = {"boosting": {"boosting",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we please turn this into a class? class params

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Sorry, not sure that I understood you correctly. Please take a look.

@StrikerRUS StrikerRUS merged commit 5dcd4be into master Oct 22, 2019
@StrikerRUS StrikerRUS deleted the aliases branch October 22, 2019 17:11
@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.

2 participants