Trên GitHub, scikit-learn-contrib/imbalanced-learn đã đạt 7.1k sao, nhóm Data, ngôn ngữ Python. A Python Package to Tackle the Curse of Imbalanced Datasets in Machine Learning
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
imbalanced-learn is a python package offering a number of re-sampling techniques
commonly used in datasets showing strong between-class imbalance.
It is compatible with scikit-learn_ and is part of scikit-learn-contrib_
projects.
Documentation
Installation documentation, API documentation, and examples can be found on the
documentation_.
`imbalanced-learn` requires the following dependencies:
- Python (>= |PythonMinVersion|)
- NumPy (>= |NumPyMinVersion|)
- SciPy (>= |SciPyMinVersion|)
- Scikit-learn (>= |ScikitLearnMinVersion|)
- Pytest (>= |PytestMinVersion|)
Additionally, `imbalanced-learn` requires the following optional dependencies:
- Pandas (>= |PandasMinVersion|) for dealing with dataframes
- Tensorflow (>= |TensorflowMinVersion|) for dealing with TensorFlow models
- Keras (>= |KerasMinVersion|) for dealing with Keras models
The examples will requires the following additional dependencies:
- Matplotlib (>= |MatplotlibMinVersion|)
- Seaborn (>= |SeabornMinVersion|)
Installation
From PyPi or conda-forge repositories
.....................................
imbalanced-learn is currently available on the PyPi's repositories and you can
install it via pip::
pip install -U imbalanced-learn
The package is release also in Anaconda Cloud platform::
conda install -c conda-forge imbalanced-learn
From source available on GitHub
...............................
If you prefer, you can clone it and run the setup.py file. Use the following
commands to get a copy from Github and install all dependencies::
git clone https://github.com/scikit-learn-contrib/imbalanced-learn.git
cd imbalanced-learn
pip install .
Be aware that you can install in developer mode with::
pip install --no-build-isolation --editable .
If you wish to make pull-requests on GitHub, we advise you to install
pre-commit::
pip install pre-commit
pre-commit install
Testing
After installation, you can use `pytest` to run the test suite::
make coverage
Development
-----------
The development of this scikit-learn-contrib is in line with the one
of the scikit-learn community. Therefore, you can refer to their
`Development Guide
<http://scikit-learn.org/stable/developers>`_.
Endorsement of the Scientific Python Specification
--------------------------------------------------
We endorse good practices from the Scientific Python Ecosystem Coordination (SPEC).
The full list of recommendations is available `here`_.
See below the list of recommendations that we endorse for the imbalanced-learn project.
|SPEC 0 — Minimum Supported Dependencies|
.. |SPEC 0 — Minimum Supported Dependencies| image:: https://img.shields.io/badge/SPEC-0-green?labelColor=%23004811&color=%235CA038
:target: https://scientific-python.org/specs/spec-0000/
.. _here: https://scientific-python.org/specs/
About
-----
If you use imbalanced-learn in a scientific publication, we would appreciate
citations to the following paper::
@article{JMLR:v18:16-365,
author = {Guillaume Lema{{\^i}}tre and Fernando Nogueira and Christos K. Aridas},
title = {Imbalanced-learn: A Python Toolbox to Tackle the Curse of Imbalanced Datasets in Machine Learning},
journal = {Journal of Machine Learning Research},
year = {2017},
volume = {18},
number = {17},
pages = {1-5},
url = {http://jmlr.org/papers/v18/16-365}
}
Most classification algorithms will only perform optimally when the number of
samples of each class is roughly the same. Highly skewed datasets, where the
minority is heavily outnumbered by one or more classes, have proven to be a
challenge while at the same time becoming more and more common.
One way of addressing this issue is by re-sampling the dataset as to offset this
imbalance with the hope of arriving at a more robust and fair decision boundary
than you would otherwise.
You can refer to the `imbalanced-learn`_ documentation to find details about
the implemented algorithms.
.. _imbalanced-learn: https://imbalanced-learn.org/stable/user_guide.html
Đọc thêm về scikit-learn-contrib/imbalanced-learn ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/scikit-learn-contrib/imbalanced-learn là nguồn chính thức.
scikit-learn-contrib/imbalanced-learn có bao nhiêu sao?
scikit-learn-contrib/imbalanced-learn có 7.1k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/scikit-learn-contrib/imbalanced-learn. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
scikit-learn-contrib/imbalanced-learn có phải mã nguồn mở không?
Có — scikit-learn-contrib/imbalanced-learn phát hành theo license MIT, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/scikit-learn-contrib/imbalanced-learn.
scikit-learn-contrib/imbalanced-learn còn đang phát triển không?
Commit gần nhất trên scikit-learn-contrib/imbalanced-learn là 4 tháng trước (theo timestamp GitHub). Repo có 1.4k fork — một chỉ báo về mức độ quan tâm của cộng đồng.
scikit-learn-contrib/imbalanced-learn là gì?
scikit-learn-contrib/imbalanced-learn (scikit-learn-contrib/imbalanced-learn) là dự án Python trên GitHub. Theo mô tả gốc: A Python Package to Tackle the Curse of Imbalanced Datasets in Machine Learning
scikit-learn-contrib/imbalanced-learn so với các dự án Data khác thế nào?
scikit-learn-contrib/imbalanced-learn được TopGit xếp vào nhóm Data, với 7.1k sao GitHub và viết bằng Python. Xem trang chủ đề Data trên TopGit để so sánh với các dự án tương tự theo số sao và mức độ hoạt động.
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về imbalanced-learn?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về imbalanced-learn.