-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
Save model in ubj as the default. #9947
Conversation
2140295
to
0c5ccd0
Compare
@wbo4958 Would be great if you could help take a look when you are available. |
@@ -668,8 +668,7 @@ def weight_margin(draw: Callable) -> TestDataset: | |||
|
|||
# A strategy for drawing from a set of example datasets. May add random weights to the | |||
# dataset | |||
@memory.cache |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed since the composite strategy cannot be pickled. joblib has been issuing warnings for a while.
@@ -1313,10 +1313,8 @@ XGB_DLL int XGBoosterLoadModel(BoosterHandle handle, const char* fname) { | |||
|
|||
namespace { | |||
void WarnOldModel() { | |||
if (XGBOOST_VER_MAJOR >= 2) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The version is lowered since we have released an extra 1.7 release. The original plan was to go from 1.6 to 2.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still need to update the comments of https://github.com/dmlc/xgboost/blob/master/jvm-packages/xgboost4j-spark/src/main/scala/org/apache/spark/ml/util/XGBoostReadWrite.scala#L34
Otherwise, LGTM. |
Thank you for sharing! |
Still need to refresh the document, will open another PR once the R package is sorted out. |
Related #7547 .
verbosity
in tests so that I can capture warnings.