Fix model saving for 'count:possion': max_delta_step as Booster attribute (#3515)

* Save max_delta_step as an extra attribute of Booster

Fixes #3509 and #3026, where `max_delta_step` parameter gets lost during serialization.

* fix lint

* Use camel case for global constant

* disable local variable case in clang-tidy
This commit is contained in:
Philip Hyunsu Cho
2018-07-27 09:55:54 -07:00
committed by GitHub
parent cc6a5a3666
commit 8a5209c55e
2 changed files with 32 additions and 8 deletions

View File

@@ -5,7 +5,6 @@ CheckOptions:
- { key: readability-identifier-naming.TypeAliasCase, value: CamelCase }
- { key: readability-identifier-naming.TypedefCase, value: CamelCase }
- { key: readability-identifier-naming.TypeTemplateParameterCase, value: CamelCase }
- { key: readability-identifier-naming.LocalVariableCase, value: lower_case }
- { key: readability-identifier-naming.MemberCase, value: lower_case }
- { key: readability-identifier-naming.PrivateMemberSuffix, value: '_' }
- { key: readability-identifier-naming.ProtectedMemberSuffix, value: '_' }