Skip to content

Commit d6bedc2

Browse files
DOC update documentation for v0.1.4
1 parent 925689a commit d6bedc2

File tree

484 files changed

+14736
-1581
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

484 files changed

+14736
-1581
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
Imbalanced Ensemble: <i>ensemble learning for class-imbalanced data in Python.</i>
3838
<br>
3939
[<a href="https://imbalanced-ensemble.readthedocs.io/">Documentation</a>]
40+
[<a href="https://imbalanced-ensemble.readthedocs.io/en/latest/auto_examples/index.html#">Example Gallery</a>]
4041
[<a href="https://pypi.org/project/imbalanced-ensemble/">PyPI</a>]
4142
[<a href="https://imbalanced-ensemble.readthedocs.io/en/latest/release_history.html">Changelog</a>]
4243
[<a href="https://github.com/ZhiningLiu1998/imbalanced-ensemble/tree/main/imbalanced_ensemble">Source</a>]
@@ -46,12 +47,12 @@
4647
***imbalanced-ensemble* (IMBENS, imported as `imbalanced_ensemble`)** is a Python toolbox for quick implementing and deploying ensemble learning algorithms on class-imbalanced data.
4748
The problem of learning from imbalanced data is known as [imbalanced learning](https://github.com/ZhiningLiu1998/awesome-imbalanced-learning) or long-tail learning (under multi-class scenario).
4849

49-
Currently (v0.1.3, 2021/06), IMBENS includes more than 15 ensemble imbalanced learning algorithms, from the classical SMOTEBoost (2003), RUSBoost (2010) to recent SPE (2020), from resampling to cost-sensitive learning. More algorithms will be included in the future. We also provide detailed documentation and examples across various algorithms.
50+
Currently (v0.1.4, 2021/06), IMBENS includes more than 15 ensemble imbalanced learning algorithms, from the classical SMOTEBoost (2003), RUSBoost (2010) to recent SPE (2020), from resampling to cost-sensitive learning. More algorithms will be included in the future. We also provide detailed documentation and examples across various algorithms.
5051

51-
Read more at: [[知乎/Zhihu](https://zhuanlan.zhihu.com/p/376572330)] [[中文README](https://github.com/ZhiningLiu1998/imbalanced-ensemble/blob/main/docs/README_CN.md)].
52+
**Read more at: [[知乎/Zhihu](https://zhuanlan.zhihu.com/p/376572330)] [[中文README](https://github.com/ZhiningLiu1998/imbalanced-ensemble/blob/main/docs/README_CN.md)].**
5253

5354
**IMBENS is featured for:**
54-
- &#x1F34E; **Unified, easy-to-use APIs, detailed documentation and examples.**
55+
- &#x1F34E; **Unified, easy-to-use APIs, detailed [documentation](https://imbalanced-ensemble.readthedocs.io/) and [examples](https://imbalanced-ensemble.readthedocs.io/en/latest/auto_examples/index.html#).**
5556
- &#x1F34E; **Capable for *multi-class* imbalanced learning out-of-box.**
5657
- &#x1F34E; **Optimized performance with parallelization when possible using [joblib](https://github.com/joblib/joblib).**
5758
- &#x1F34E; **Powerful, customizable, interactive training logging and visualizer.**
@@ -162,6 +163,11 @@ Ensemble imbalanced learning (EIL) is known to effectively improve typical IL so
162163
163164
## 5-min Quick Start with IMBENS
164165

166+
**Here, we provide some quick guides to help you get started with IMBENS.**
167+
**We strongly encourage users to check out the [**example gallery**](https://imbalanced-ensemble.readthedocs.io/en/latest/auto_examples/index.html#) for more comprehensive usage examples, which demonstrate many advanced features of IMBENS.**
168+
169+
![](https://raw.githubusercontent.com/ZhiningLiu1998/figures/master/imbalanced-ensemble/example_gallery_snapshot.png)
170+
165171
### A minimal working example
166172

167173
Taking self-paced ensemble [1] as an example, it only requires less than 10 lines of code to deploy it:

docs/README_CN.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,17 @@
3838
</a>
3939
</p>
4040

41-
#### 链接:[[Github](https://github.com/ZhiningLiu1998/imbalanced-ensemble)] [[API/文档/使用手册](https://imbalanced-ensemble.readthedocs.io/)] [[PyPI](https://pypi.org/project/imbalanced-ensemble/)] [[版本历史](https://imbalanced-ensemble.readthedocs.io/en/latest/release_history.html)] [[源代码](https://github.com/ZhiningLiu1998/imbalanced-ensemble/tree/main/imbalanced_ensemble)] [[下载](https://pypi.org/project/imbalanced-ensemble/#files)]
41+
#### 链接:[[Github](https://github.com/ZhiningLiu1998/imbalanced-ensemble)] [[API/文档/使用手册](https://imbalanced-ensemble.readthedocs.io/)] [[示例仓库](https://imbalanced-ensemble.readthedocs.io/en/latest/auto_examples/index.html#)] [[PyPI](https://pypi.org/project/imbalanced-ensemble/)] [[版本历史](https://imbalanced-ensemble.readthedocs.io/en/latest/release_history.html)] [[源代码](https://github.com/ZhiningLiu1998/imbalanced-ensemble/tree/main/imbalanced_ensemble)] [[下载](https://pypi.org/project/imbalanced-ensemble/#files)]
4242

43-
**imbalanced-ensemble(IMBENS)是一个 Python 库/软件包。它主要用于在类别不平衡数据上快速实现和部署集成学习算法。截至目前(v0.1.3, 2021/06/08),IMBENS已实现了14种不同的不平衡集成学习算法,从经典的SMOTEBoost (2003) 到最近的 SPE (2020),从欠采样、过采样到代价敏感学习,全部包括在内。IMBENS实现的大部分方法都具有详细的 [文档和使用手册](https://imbalanced-ensemble.readthedocs.io/),并将在未来继续更新加入其他方法。**
43+
**imbalanced-ensemble(IMBENS)是一个 Python 库/软件包。它主要用于在类别不平衡数据上快速实现和部署集成学习算法。截至目前(2021/06),IMBENS已实现了14种不同的不平衡集成学习算法,从经典的SMOTEBoost (2003) 到最近的 SPE (2020),从欠采样、过采样到代价敏感学习,全部包括在内。IMBENS实现的大部分方法都具有详细的 [文档和使用手册](https://imbalanced-ensemble.readthedocs.io/),并将在未来继续更新加入其他方法。**
4444

4545
**欢迎 star / issue / PR !**
4646

47+
**更多相关: [[知乎/Zhihu](https://zhuanlan.zhihu.com/p/376572330)] [[英文README](https://github.com/ZhiningLiu1998/imbalanced-ensemble#readme)].**
48+
4749
**IMBENS的主要特性有:**
4850

49-
- &#x1F34E; **统一易用的API设计,便于使用和二次开发**
51+
- &#x1F34E; **统一易用的API设计,便于使用和二次开发,详细的 [文档](https://imbalanced-ensemble.readthedocs.io/)[示例](https://imbalanced-ensemble.readthedocs.io/en/latest/auto_examples/index.html#)**
5052
- &#x1F34E; **所有实现的方法均原生支持多分类不平衡问题**
5153
- &#x1F34E; **在可能的情况下,使用 [joblib](https://github.com/joblib/joblib) 实现并行训练/预测以优化性能**
5254
- &#x1F34E; **强大的、可定制的、交互式的模型训练日志记录和可视化工具**
@@ -130,6 +132,11 @@ imbalanced-ensemble 具有以下依赖项:
130132

131133
## 5分钟快速上手IMBENS
132134

135+
**本节中我们提供一些简单的指南来帮助您快速开始使用 IMBENS。**
136+
**我们强烈希望您查看 [**示例仓库**](https://imbalanced-ensemble.readthedocs.io/en/latest/auto_examples/index.html#) 中的更全面的使用示例,其中演示了 IMBENS 的许多高级特性。**
137+
138+
![](https://raw.githubusercontent.com/ZhiningLiu1998/figures/master/imbalanced-ensemble/example_gallery_snapshot.png)
139+
133140
#### 基础示例
134141

135142
一个可运行的示例:以 SPE[1] 为例,仅需少于10行的代码就可以部署它:
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.wy-nav-content {
2+
max-width: 1000px !important;
3+
}

docs/source/_static/thumbnail.png

31.1 KB
Loading
19.8 KB
Loading

docs/source/api/ensemble/_autosummary/imbalanced_ensemble.ensemble.reweighting.AdaCostClassifier.rst renamed to docs/source/api/ensemble/_autosummary/imbalanced_ensemble.ensemble.AdaCostClassifier.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
AdaCostClassifier
2-
========================================================================
2+
============================================================
33

4-
.. currentmodule:: imbalanced_ensemble.ensemble.reweighting
4+
.. currentmodule:: imbalanced_ensemble.ensemble
55

66
.. autoclass:: AdaCostClassifier
77

@@ -52,7 +52,7 @@
5252

5353

5454

55-
.. include:: ../../../back_references/imbalanced_ensemble.ensemble.reweighting.AdaCostClassifier.examples
55+
.. include:: ../../../back_references/imbalanced_ensemble.ensemble.AdaCostClassifier.examples
5656

5757
.. raw:: html
5858

docs/source/api/ensemble/_autosummary/imbalanced_ensemble.ensemble.reweighting.AdaUBoostClassifier.rst renamed to docs/source/api/ensemble/_autosummary/imbalanced_ensemble.ensemble.AdaUBoostClassifier.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
AdaUBoostClassifier
2-
==========================================================================
2+
==============================================================
33

4-
.. currentmodule:: imbalanced_ensemble.ensemble.reweighting
4+
.. currentmodule:: imbalanced_ensemble.ensemble
55

66
.. autoclass:: AdaUBoostClassifier
77

@@ -52,7 +52,7 @@
5252

5353

5454

55-
.. include:: ../../../back_references/imbalanced_ensemble.ensemble.reweighting.AdaUBoostClassifier.examples
55+
.. include:: ../../../back_references/imbalanced_ensemble.ensemble.AdaUBoostClassifier.examples
5656

5757
.. raw:: html
5858

docs/source/api/ensemble/_autosummary/imbalanced_ensemble.ensemble.reweighting.AsymBoostClassifier.rst renamed to docs/source/api/ensemble/_autosummary/imbalanced_ensemble.ensemble.AsymBoostClassifier.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
AsymBoostClassifier
2-
==========================================================================
2+
==============================================================
33

4-
.. currentmodule:: imbalanced_ensemble.ensemble.reweighting
4+
.. currentmodule:: imbalanced_ensemble.ensemble
55

66
.. autoclass:: AsymBoostClassifier
77

@@ -52,7 +52,7 @@
5252

5353

5454

55-
.. include:: ../../../back_references/imbalanced_ensemble.ensemble.reweighting.AsymBoostClassifier.examples
55+
.. include:: ../../../back_references/imbalanced_ensemble.ensemble.AsymBoostClassifier.examples
5656

5757
.. raw:: html
5858

docs/source/api/ensemble/_autosummary/imbalanced_ensemble.ensemble.under_sampling.BalanceCascadeClassifier.rst renamed to docs/source/api/ensemble/_autosummary/imbalanced_ensemble.ensemble.BalanceCascadeClassifier.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
BalanceCascadeClassifier
2-
==================================================================================
2+
===================================================================
33

4-
.. currentmodule:: imbalanced_ensemble.ensemble.under_sampling
4+
.. currentmodule:: imbalanced_ensemble.ensemble
55

66
.. autoclass:: BalanceCascadeClassifier
77

@@ -34,7 +34,7 @@
3434

3535

3636

37-
.. include:: ../../../back_references/imbalanced_ensemble.ensemble.under_sampling.BalanceCascadeClassifier.examples
37+
.. include:: ../../../back_references/imbalanced_ensemble.ensemble.BalanceCascadeClassifier.examples
3838

3939
.. raw:: html
4040

docs/source/api/ensemble/_autosummary/imbalanced_ensemble.ensemble.under_sampling.BalancedRandomForestClassifier.rst renamed to docs/source/api/ensemble/_autosummary/imbalanced_ensemble.ensemble.BalancedRandomForestClassifier.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
BalancedRandomForestClassifier
2-
========================================================================================
2+
=========================================================================
33

4-
.. currentmodule:: imbalanced_ensemble.ensemble.under_sampling
4+
.. currentmodule:: imbalanced_ensemble.ensemble
55

66
.. autoclass:: BalancedRandomForestClassifier
77

@@ -43,7 +43,7 @@
4343

4444

4545

46-
.. include:: ../../../back_references/imbalanced_ensemble.ensemble.under_sampling.BalancedRandomForestClassifier.examples
46+
.. include:: ../../../back_references/imbalanced_ensemble.ensemble.BalancedRandomForestClassifier.examples
4747

4848
.. raw:: html
4949

0 commit comments

Comments
 (0)