Skip to content

Commit

Permalink
[Chore] change readme and python version (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
RektPunk authored Sep 18, 2024
1 parent 2dc947e commit c577bd4
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 7 deletions.
19 changes: 15 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,28 @@
# Imbalanced-LightGBM

<div style="text-align: center;">
<img src="https://capsule-render.vercel.app/api?type=transparent&fontColor=703ee5&text=imlightgbm&height=150&fontSize=60">
</div>
<p align="center">
<a href="https://github.com/RektPunk/Imbalance-LightGBM/releases/latest">
<img alt="release" src="https://img.shields.io/github/v/release/RektPunk/Imbalance-LightGBM.svg">
</a>
<a href="https://pypi.org/project/imlightgbm">
<img alt="Pythonv" src="https://img.shields.io/pypi/pyversions/imlightgbm.svg?logo=python&logoColor=white">
</a>
<a href="https://github.com/RektPunk/Imbalance-LightGBM/blob/main/LICENSE">
<img alt="License" src="https://img.shields.io/github/license/RektPunk/Imbalance-LightGBM.svg">
</a>
<a href="https://github.com/RektPunk/Imbalance-LightGBM/actions/workflows/lint.yaml">
<img alt="Lint" src="https://github.com/RektPunk/Imbalance-LightGBM/actions/workflows/lint.yaml/badge.svg?branch=main">
</a>
</p>


This repository contains implementations of weighted loss and focal loss functions specifically designed for classification problems using LightGBM.

## Installation
Not implemented yet.

```bash
pip install imlightgbm
```

## Example
Please refer to the [**Examples**](https://github.com/RektPunk/Imbalance-LightGBM/tree/main/examples) provided for further clarification.
Expand Down
2 changes: 1 addition & 1 deletion imlightgbm/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ruff: noqa
from imlightgbm.engine import cv, train

__version__ = "0.0.1"
__version__ = "0.0.2"
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "imlightgbm"
version = "0.0.1"
version = "0.0.2"
description = "LightGBM for label-imbalanced data with focal and weighted loss function"
authors = ["RektPunk <[email protected]>"]
license = "MIT"
Expand All @@ -11,7 +11,7 @@ classifiers = [
]

[tool.poetry.dependencies]
python = "^3.12"
python = "^3.9"
lightgbm = "^4.5.0"
scikit-learn = "^1.5.2"

Expand Down

0 comments on commit c577bd4

Please sign in to comment.