1
1
.. -*- mode: rst -*-
2
2
3
- imbalanced-learn
4
- ================
5
-
6
- imbalanced-learn is a python package offering a number of re-sampling techniques
7
- commonly used in datasets showing strong between-class imbalance.
8
- It is compatible with scikit-learn _ and is part of scikit-learn-contrib _
9
- projects.
10
-
11
3
.. _scikit-learn : http://scikit-learn.org/stable/
12
4
13
5
.. _scikit-learn-contrib : https://github.com/scikit-learn-contrib
@@ -41,28 +33,39 @@ projects.
41
33
.. |Gitter | image :: https://badges.gitter.im/scikit-learn-contrib/imbalanced-learn.svg
42
34
.. _Gitter : https://gitter.im/scikit-learn-contrib/imbalanced-learn?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
43
35
36
+ imbalanced-learn
37
+ ================
38
+
39
+ imbalanced-learn is a python package offering a number of re-sampling techniques
40
+ commonly used in datasets showing strong between-class imbalance.
41
+ It is compatible with scikit-learn _ and is part of scikit-learn-contrib _
42
+ projects.
43
+
44
44
Documentation
45
- =============
45
+ -------------
46
46
47
47
Installation documentation, API documentation, and examples can be found on the
48
48
documentation _.
49
49
50
50
.. _documentation : http://contrib.scikit-learn.org/imbalanced-learn/
51
51
52
52
Installation
53
- ============
53
+ ------------
54
54
55
55
Dependencies
56
- ------------
56
+ ~~~~~~~~~~~~
57
57
58
- imbalanced-learn is tested to work under Python 2.7 and Python 3.5.
58
+ imbalanced-learn is tested to work under Python 2.7 and Python 3.4,
59
+ 3.5, and 3.6.
59
60
60
61
* scipy(>=0.18.1)
61
62
* numpy(>=1.11.2)
62
63
* scikit-learn(>=0.18.1)
63
64
65
+ Additionally, to run the examples, you need matplotlib(>=2.0.0).
66
+
64
67
Installation
65
- ------------
68
+ ~~~~~~~~~~~~
66
69
67
70
imbalanced-learn is currently available on the PyPi's repository and you can
68
71
install it via `pip `::
@@ -81,14 +84,36 @@ commands to get a copy from GitHub and install all dependencies::
81
84
pip install .
82
85
83
86
Testing
84
- -------
87
+ ~~~~~~~
85
88
86
89
After installation, you can use `nose ` to run the test suite::
87
90
88
91
make coverage
89
92
93
+ Development
94
+ -----------
95
+
96
+ The development of this scikit-learn-contrib is in line with the one
97
+ of the scikit-learn community. Therefore, you can refer to their
98
+ `Development Guide
99
+ <http://scikit-learn.org/stable/developers/index.html> `_.
100
+
90
101
About
91
- =====
102
+ -----
103
+
104
+ If you use imbalanced-learn in a scientific publication, we would appreciate
105
+ citations to the following paper::
106
+
107
+ @article{JMLR:v18:16-365,
108
+ author = {Guillaume Lema{{\^i}}tre and Fernando Nogueira and Christos K. Aridas},
109
+ title = {Imbalanced-learn: A Python Toolbox to Tackle the Curse of Imbalanced Datasets in Machine Learning},
110
+ journal = {Journal of Machine Learning Research},
111
+ year = {2017},
112
+ volume = {18},
113
+ number = {17},
114
+ pages = {1-5},
115
+ url = {http://jmlr.org/papers/v18/16-365.html}
116
+ }
92
117
93
118
Most classification algorithms will only perform optimally when the number of
94
119
samples of each class is roughly the same. Highly skewed datasets, where the
@@ -139,21 +164,6 @@ The different algorithms are presented in the sphinx-gallery_.
139
164
140
165
.. _sphinx-gallery : http://contrib.scikit-learn.org/imbalanced-learn/auto_examples/index.html
141
166
142
- This is a work in progress. Any comments, suggestions or corrections are welcome.
143
-
144
- If you use imbalanced-learn in a scientific publication, we would appreciate
145
- citations to the following paper::
146
-
147
- @article{lemaitre2016imbalanced,
148
- author = {Guillaume Lema\^{i}tre and
149
- Fernando Nogueira and
150
- Christos K. Aridas},
151
- title = {Imbalanced-learn: A Python Toolbox to Tackle the Curse of Imbalanced Datasets in Machine Learning},
152
- journal = {CoRR},
153
- volume = {abs/1609.06570},
154
- year = {2016},
155
- url = {http://arxiv.org/abs/1609.06570}
156
- }
157
167
158
168
References:
159
169
-----------
0 commit comments