LGBtrainer helps you find hyper params for LGBM and simplifies the process of training the model and finding hyperparams.
- Parameters:-
- train = it should be your train dataset(which is fit for training purpose)
- test = it should be your test dataset(which is fit for testing purpose)
- y_train = it should be your target column or values(same rows as train)
- cv = the number of splits or folds(it is used for both finding hyperparams + training the model)
- num_rounds = number of training rounds(it is used for both finding hyperparams + training the model)
- metric = only 'auc' and 'rmse' can be used(For now only these two are supported)
- objective = 'binary' or 'regression' or any other can be provided
- max_eval = number of evaluations performed for finding params(note:- larger number might take more time depending on size of dataset)
- Example:-
-from LGBtrainer import Model
-model = Model(train, test, y_train, metric='auc', objective='binary', max_eval=3, cv=5)
-params = model.get_params()
-predictions = model.lgb_model(params)
Metadata
Release files for LGBtrainer 0.1
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 |
|---|---|---|---|---|
| LGBtrainer-0.1.tar.gz | 3.1 kB | Without provenance | Details for LGBtrainer-0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| LGBtrainer-0.1-py3-none-any.whl | Python 3 | none | any | Details for LGBtrainer-0.1-py3-none-any.whl |
Total release size: 7.4 kB
Release files / LGBtrainer-0.1.tar.gz
| Download URL | LGBtrainer-0.1.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b237c29bfb50a431d9b575bdde07e93da19aa6f3ee173dd15ac9fd9d57026fdc
|
|
BLAKE2b-256 checksum How to use checksums |
3758ff119b8a5053babca7d718ad10ddf3fdce2194cc3cbbb175dd7c3638edba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.1
|
Release files / LGBtrainer-0.1-py3-none-any.whl
| Download URL | LGBtrainer-0.1-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9e3be8eb774e6ec0b3872cdc8936dd8c81d5f2d9c3ae43f9b9d1374e3a2ab571
|
|
BLAKE2b-256 checksum How to use checksums |
02023e642efcbea056888148aa8b544030bdb401109491972713f4872f654a34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.1
|
Security for LGBtrainer 0.1
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.