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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file imlightgbm-0.1.1.tar.gz.
File metadata
- Download URL: imlightgbm-0.1.1.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a29a7b1b620bbdc709e5e6bb9029a856131e7e051d43b537e5f3ea9e3fff116
|
|
| MD5 |
7145a879017bc713688c9331814aa4d4
|
|
| BLAKE2b-256 |
2e874701c8354e8e3580102cd6825796e0adf4a694d125c4c2ffa228f5a08a33
|
File details
Details for the file imlightgbm-0.1.1-py3-none-any.whl.
File metadata
- Download URL: imlightgbm-0.1.1-py3-none-any.whl
- Upload date:
- Size: 12.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5722b026189684fe86060d42187b6777de640bc48100fd1521d07793bc90d40
|
|
| MD5 |
3d982d172b9894730b79f5323db3d81b
|
|
| BLAKE2b-256 |
891049d6c77a5c3696d0351023aa66ea8efa6066c4ab191a5c9692bdd48f155e
|