We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
xgboost 1.0.0rc2
import xgboost as xgb import numpy as np import pickle import locale def makeXy(): np.random.seed(1) X = np.random.randn(10, 10) y = [0, 1] * int(10 / 2) return X, y X, y = makeXy() dm = xgb.DMatrix(X, label=y) param = { "objective": "binary:logistic", 'eval_metric': 'auc', } model = xgb.train(param, dm, 1) print(locale.getpreferredencoding(False)) with open("model.pkl", 'wb') as f: pickle.dump(obj=model, file=f) print(locale.getpreferredencoding(False))
UTF-8 ANSI_X3.4-1968
I'm not quite sure, but could it be related to dmlc-core and changing locale?
The text was updated successfully, but these errors were encountered:
Thanks
Sorry, something went wrong.
@trivialfis are you also going to merge it into release_1 branch?
release_1
It's merged there.
Successfully merging a pull request may close this issue.
xgboost 1.0.0rc2
I'm not quite sure, but could it be related to dmlc-core and changing locale?
The text was updated successfully, but these errors were encountered: