LightGBM for label-imbalanced data with focal and weighted loss function
Project description
This repository contains implementations of weighted loss and focal loss functions specifically designed for classification problems using LightGBM.
Installation
pip install imlightgbm
Example
Please refer to the Examples provided for further clarification.
Acknowledgements
This repository would not exist without the excellent work from:
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
imlightgbm-0.1.0.tar.gz
(10.6 kB
view details)
Built Distribution
File details
Details for the file imlightgbm-0.1.0.tar.gz
.
File metadata
- Download URL: imlightgbm-0.1.0.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.1 Linux/6.8.0-1014-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5556f17d02ac31e4a9939e9cadfcd92de2b2272abbe63a290e2ace90f4f905ad |
|
MD5 | 974a81e123fd1482585a9393c6eb3bc4 |
|
BLAKE2b-256 | 461ad6b33973bd50e6b8da72d26f3d82e4c807f7ce9e5d36a07241525790656f |
File details
Details for the file imlightgbm-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: imlightgbm-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.1 Linux/6.8.0-1014-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8752e6654e6aaf6b41f78263960efb3aaa757d744b0a1f161d9219606242199f |
|
MD5 | bec026353d42f7d336841fd2e80e1bc8 |
|
BLAKE2b-256 | b28ad8c0bcddbe9783faf206159f8dd81dc14cddfb054f07bd60b86ff2404478 |