dmlc / dmlc/xgboost

[FEATURE] xgboost.cv returns boosters and out-of-fold predictions in python.

Open
#6,756 1 comment 1 reaction 1 assignee Claimed by @trivialfis View on GitHub
cross-validation feature-request
Dominant language
C++
Stars
28.8k
Forks
8.9k
Avg merge
1d 12h
Merged PRs (30d)
54

Description

Xgboost.cv python returns only a list of metrics calculated for each fold. This function is great for tuning a model but lacks the ability to return the base models (boosters) and o.o.f. predictions once they are all available inside the function.
Since R Xgboost.cv returns the base models would be great if python version does the same. Parameters like "return_booster" and "return_oof" would be great.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.