Fix changing locale. (#5314)

* Fix changing locale.

* Don't use locale guard.

As number parsing is implemented in house, we don't need locale.

* Update doc.
This commit is contained in:
Jiaming Yuan
2020-02-17 11:31:13 +08:00
committed by fis
parent 69fc8a632f
commit 088c43d666
3 changed files with 7 additions and 25 deletions

View File

@@ -195,7 +195,9 @@ You can load it back to the model generated by same version of XGBoost by:
bst.load_config(config)
This way users can study the internal representation more closely.
This way users can study the internal representation more closely. Please note that some
JSON generators make use of locale dependent floating point serialization methods, which
is not supported by XGBoost.
************
Future Plans