Skip to content

Commit

Permalink
DOC: Update README (scikit-learn-contrib#278)
Browse files Browse the repository at this point in the history
  • Loading branch information
glemaitre authored and chkoar committed Mar 30, 2017
1 parent 12f5479 commit 9df7b06
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 39 deletions.
70 changes: 40 additions & 30 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
.. -*- mode: rst -*-
imbalanced-learn
================

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.

.. _scikit-learn: http://scikit-learn.org/stable/

.. _scikit-learn-contrib: https://github.com/scikit-learn-contrib
Expand Down Expand Up @@ -41,28 +33,39 @@ projects.
.. |Gitter| image:: https://badges.gitter.im/scikit-learn-contrib/imbalanced-learn.svg
.. _Gitter: https://gitter.im/scikit-learn-contrib/imbalanced-learn?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge

imbalanced-learn
================

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_.

.. _documentation: http://contrib.scikit-learn.org/imbalanced-learn/

Installation
============
------------

Dependencies
------------
~~~~~~~~~~~~

imbalanced-learn is tested to work under Python 2.7 and Python 3.5.
imbalanced-learn is tested to work under Python 2.7 and Python 3.4,
3.5, and 3.6.

* scipy(>=0.18.1)
* numpy(>=1.11.2)
* scikit-learn(>=0.18.1)

Additionally, to run the examples, you need matplotlib(>=2.0.0).

Installation
------------
~~~~~~~~~~~~

imbalanced-learn is currently available on the PyPi's repository and you can
install it via `pip`::
Expand All @@ -81,14 +84,36 @@ commands to get a copy from GitHub and install all dependencies::
pip install .

Testing
-------
~~~~~~~

After installation, you can use `nose` 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/index.html>`_.

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.html}
}

Most classification algorithms will only perform optimally when the number of
samples of each class is roughly the same. Highly skewed datasets, where the
Expand Down Expand Up @@ -139,21 +164,6 @@ The different algorithms are presented in the sphinx-gallery_.

.. _sphinx-gallery: http://contrib.scikit-learn.org/imbalanced-learn/auto_examples/index.html

This is a work in progress. Any comments, suggestions or corrections are welcome.

If you use imbalanced-learn in a scientific publication, we would appreciate
citations to the following paper::

@article{lemaitre2016imbalanced,
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 = {CoRR},
volume = {abs/1609.06570},
year = {2016},
url = {http://arxiv.org/abs/1609.06570}
}

References:
-----------
Expand Down
18 changes: 9 additions & 9 deletions doc/about.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ Citing imbalanced-learn
If you use imbalanced-learn in a scientific publication, we would appreciate
citations to the following paper::

@article{lemaitre2016imbalanced,
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 = {CoRR},
volume = {abs/1609.06570},
year = {2016},
url = {http://arxiv.org/abs/1609.06570}
@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.html}
}

0 comments on commit 9df7b06

Please sign in to comment.