Skip to content

Always save dart configuration.#12098

Merged
trivialfis merged 1 commit into
dmlc:masterfrom
trivialfis:save-dart-cfg
Mar 17, 2026
Merged

Always save dart configuration.#12098
trivialfis merged 1 commit into
dmlc:masterfrom
trivialfis:save-dart-cfg

Conversation

@trivialfis

Copy link
Copy Markdown
Member

Saving the default configuration is fine. The configuration format is not stable, the Learner class discards configuration from different XGBoost versions.

We rely on this to implement parameter validation. rate_drop=0.0 is the default, but still it's used.

@trivialfis trivialfis requested a review from RAMitchell March 17, 2026 10:37
@trivialfis trivialfis merged commit 344d683 into dmlc:master Mar 17, 2026
78 checks passed
@trivialfis trivialfis deleted the save-dart-cfg branch March 17, 2026 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants