From a66fb7df0bbf6814fe9cc1c03e7c21e7733eb1dd Mon Sep 17 00:00:00 2001 From: Guillaume Lemaitre Date: Sun, 14 Feb 2021 19:26:45 +0100 Subject: [PATCH] bumpversion to 0.8.0.dev0 --- doc/whats_new.rst | 2 ++ doc/whats_new/v0.7.rst | 27 -------------------------- doc/whats_new/v0.8.rst | 43 ++++++++++++++++++++++++++++++++++++++++++ imblearn/_version.py | 2 +- setup.cfg | 9 +++------ 5 files changed, 49 insertions(+), 34 deletions(-) create mode 100644 doc/whats_new/v0.8.rst diff --git a/doc/whats_new.rst b/doc/whats_new.rst index 2d9e036a0..8af8d9cc2 100644 --- a/doc/whats_new.rst +++ b/doc/whats_new.rst @@ -4,6 +4,8 @@ Release history =============== +.. include:: whats_new/v0.8.rst + .. include:: whats_new/v0.7.rst .. include:: whats_new/v0.6.rst diff --git a/doc/whats_new/v0.7.rst b/doc/whats_new/v0.7.rst index 06d725a56..26f48e06c 100644 --- a/doc/whats_new/v0.7.rst +++ b/doc/whats_new/v0.7.rst @@ -49,15 +49,6 @@ Bug fixes :class:`imblearn.over_sampling.SMOTENC`. :pr:`675` by :user:`bganglia `. -- Fix a bug in :class:`imblearn.under_sampling.ClusterCentroids` where - `voting="hard"` could have lead to select a sample from any class instead of - the targeted class. - :pr:`769` by :user:`Guillaume Lemaitre `. - -- Fix a bug in :class:`imblearn.FunctionSampler` where validation was performed - even with `validate=False` when calling `fit`. - :pr:`790` by :user:`Guillaume Lemaitre `. - Enhancements ............ @@ -72,24 +63,6 @@ Enhancements - Lazy import `keras` module when importing `imblearn.keras` :pr:`719` by :user:`Guillaume Lemaitre `. -- Added an option to generate smoothed bootstrap in - :class:`imblearn.over_sampling.RandomOverSampler`. It is controls by the - parameter `shrinkage`. This method is also known as Random Over-Sampling - Examples (ROSE). - :pr:`754` by :user:`Andrea Lorenzon ` and - :user:`Guillaume Lemaitre `. - -- Add option `output_dict` in - :func:`imblearn.metrics.classification_report_imbalanced` to return a - dictionary instead of a string. - :pr:`770` by :user:`Guillaume Lemaitre `. - -- Add the the function - :func:`imblearn.metrics.macro_averaged_mean_absolute_error` returning the - average across class of the MAE. This metric is used in ordinal - classification. - :pr:`780` by :user:`Aurélien Massiot `. - Deprecation ........... diff --git a/doc/whats_new/v0.8.rst b/doc/whats_new/v0.8.rst new file mode 100644 index 000000000..174459b96 --- /dev/null +++ b/doc/whats_new/v0.8.rst @@ -0,0 +1,43 @@ +.. _changes_0_8: + +Version 0.8.0 (Under development) +================================= + +Changelog +--------- + +New features +............ + +- Add the the function + :func:`imblearn.metrics.macro_averaged_mean_absolute_error` returning the + average across class of the MAE. This metric is used in ordinal + classification. + :pr:`780` by :user:`Aurélien Massiot `. + +Enhancements +............ + +- Add option `output_dict` in + :func:`imblearn.metrics.classification_report_imbalanced` to return a + dictionary instead of a string. + :pr:`770` by :user:`Guillaume Lemaitre `. + +- Added an option to generate smoothed bootstrap in + :class:`imblearn.over_sampling.RandomOverSampler`. It is controls by the + parameter `shrinkage`. This method is also known as Random Over-Sampling + Examples (ROSE). + :pr:`754` by :user:`Andrea Lorenzon ` and + :user:`Guillaume Lemaitre `. + +Bug fixes +......... + +- Fix a bug in :class:`imblearn.under_sampling.ClusterCentroids` where + `voting="hard"` could have lead to select a sample from any class instead of + the targeted class. + :pr:`769` by :user:`Guillaume Lemaitre `. + +- Fix a bug in :class:`imblearn.FunctionSampler` where validation was performed + even with `validate=False` when calling `fit`. + :pr:`790` by :user:`Guillaume Lemaitre `. diff --git a/imblearn/_version.py b/imblearn/_version.py index 35ebd6438..9ccbc0a1c 100644 --- a/imblearn/_version.py +++ b/imblearn/_version.py @@ -22,4 +22,4 @@ # 'X.Y.dev0' is the canonical version of 'X.Y.dev' # -__version__ = "0.7.0" +__version__ = "0.8.0.dev0" diff --git a/setup.cfg b/setup.cfg index f55a13f95..9cf9f98b5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.7.0 +current_version = 0.8.0.dev0 tag = False parse = (?P\d+)\.(?P\d+)\.(?P\d+)(\.(?P[a-z]+)(?P\d+))? serialize = @@ -34,9 +34,6 @@ filterwarnings = [flake8] max-line-length = 88 -# Default flake8 3.5 ignored flags -ignore=E121,E123,E126,E226,E24,E704,W503,W504,E203 -# It's fine not to put the import at the top of the file in the examples -# folder. +ignore = E121,E123,E126,E226,E24,E704,W503,W504,E203 per-file-ignores = - examples/*: E402 + examples/*: E402