XGBTune
XGBTune is a library for automated XGBoost model tuning. Tuning an XGBoost model is as simple as a single function call.
Get Started
from xgbtune import tune_xgb_model
params, round_count = tune_xgb_model(params, x_train, y_train)
Install
XGBTune is available on PyPi and can be installed with pip:
pip install xgbtune
Tuning steps
The tuning is done in the following steps:
compute best round
tune max_depth and min_child_weight
tune gamma
re-compute best round
tune subsample and colsample_bytree
fine tune subsample and colsample_bytree
tune alpha and lambda
tune seed
This steps can be repeated several times. By default, two passes are done.
Metadata
Release files for xgbtune 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| xgbtune-1.1.0.tar.gz | 5.0 kB | Without provenance | Details for xgbtune-1.1.0.tar.gz |
Release files / xgbtune-1.1.0.tar.gz
| Download URL | xgbtune-1.1.0.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
52fe40be57b5551c559bad48070c2628384552f275db42ccaf75d2e8ebe3a32d
|
|
BLAKE2b-256 checksum How to use checksums |
f20396a050eaf317a460098ccc3044f47411d501f3230ec980db003b66930892
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1
|
Security for xgbtune 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.