|
1 | 1 | .. _changes_0_4:
|
2 | 2 |
|
3 |
| -Version 0.4 (under development) |
4 |
| -=============================== |
| 3 | +Version 0.4 |
| 4 | +=========== |
| 5 | + |
| 6 | +**October, 2018** |
| 7 | + |
| 8 | +.. warning:: |
| 9 | + |
| 10 | + Version 0.4 is the last version of imbalanced-learn to support Python 2.7 |
| 11 | + and Python 3.4. Imbalanced-learn 0.5 will require Python 3.5 or higher. |
| 12 | + |
| 13 | +Highlights |
| 14 | +---------- |
| 15 | + |
| 16 | +This release brings its set of new feature as well as some API changes to |
| 17 | +strengthen the foundation of imbalanced-learn. |
| 18 | + |
| 19 | +As new feature, 2 new modules :mod:`imblearn.keras` and |
| 20 | +:mod:`imblearn.tensorflow` have been added in which imbalanced-learn samplers |
| 21 | +can be used to generate balanced mini-batches. |
| 22 | + |
| 23 | +The module :mod:`imblearn.ensemble` has been consolidated with new classifier: |
| 24 | +:class:`imblearn.ensemble.BalancedRandomForestClassifier`, |
| 25 | +:class:`imblearn.ensemble.EasyEnsembleClassifier`, |
| 26 | +:class:`imblearn.ensemble.RUSBoostClassifier`. |
| 27 | + |
| 28 | +Support for string has been added in |
| 29 | +:class:`imblearn.over_sampling.RandomOverSampler` and |
| 30 | +:class:`imblearn.under_sampling.RandomUnderSampler`. In addition, a new class |
| 31 | +:class:`imblearn.over_sampling.SMOTENC` allows to generate sample with data |
| 32 | +sets containing both continuous and categorical features. |
| 33 | + |
| 34 | +The :class:`imblearn.over_sampling.SMOTE` has been simplified and break down |
| 35 | +to 2 additional classes: |
| 36 | +:class:`imblearn.over_sampling.SVMSMOTE` and |
| 37 | +:class:`imblearn.over_sampling.BorderlineSMOTE`. |
| 38 | + |
| 39 | +There is also some changes regarding the API: |
| 40 | +the parameter ``sampling_strategy`` has been introduced to replace the |
| 41 | +``ratio`` parameter. In addition, the ``return_indices`` argument has been |
| 42 | +deprecated and all samplers will exposed a ``sample_indices_`` whenever this is |
| 43 | +possible. |
5 | 44 |
|
6 | 45 | Changelog
|
7 | 46 | ---------
|
|
26 | 65 | New features
|
27 | 66 | ............
|
28 | 67 |
|
29 |
| -- Add a ``keras`` and ``tensorflow`` modules to create balanced mini-batches |
30 |
| - generator. :issue:`409` by :user:`Guillaume Lemaitre <glemaitre>`. |
| 68 | +- Add a :mod:`keras` and :mod:`tensorflow` modules to create balanced |
| 69 | + mini-batches generator. |
| 70 | + :issue:`409` by :user:`Guillaume Lemaitre <glemaitre>`. |
31 | 71 |
|
32 | 72 | - Add :class:`imblearn.ensemble.EasyEnsembleClassifier` which create a bag of
|
33 | 73 | AdaBoost classifier trained on balanced bootstrap samples.
|
|
0 commit comments