Skip to content

Commit

Permalink
bumpversion to 0.8.0.dev0
Browse files Browse the repository at this point in the history
  • Loading branch information
glemaitre committed Feb 14, 2021
1 parent 72d939a commit a66fb7d
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 34 deletions.
2 changes: 2 additions & 0 deletions doc/whats_new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
Release history
===============

.. include:: whats_new/v0.8.rst

.. include:: whats_new/v0.7.rst

.. include:: whats_new/v0.6.rst
Expand Down
27 changes: 0 additions & 27 deletions doc/whats_new/v0.7.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,6 @@ Bug fixes
:class:`imblearn.over_sampling.SMOTENC`.
:pr:`675` by :user:`bganglia <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 <glemaitre>`.

- Fix a bug in :class:`imblearn.FunctionSampler` where validation was performed
even with `validate=False` when calling `fit`.
:pr:`790` by :user:`Guillaume Lemaitre <glemaitre>`.

Enhancements
............

Expand All @@ -72,24 +63,6 @@ Enhancements
- Lazy import `keras` module when importing `imblearn.keras`
:pr:`719` by :user:`Guillaume Lemaitre <glemaitre>`.

- 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 <andrealorenzon>` and
:user:`Guillaume Lemaitre <glemaitre>`.

- 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 <glemaitre>`.

- 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 <AurelienMassiot>`.

Deprecation
...........

Expand Down
43 changes: 43 additions & 0 deletions doc/whats_new/v0.8.rst
Original file line number Diff line number Diff line change
@@ -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 <AurelienMassiot>`.

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 <glemaitre>`.

- 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 <andrealorenzon>` and
:user:`Guillaume Lemaitre <glemaitre>`.

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 <glemaitre>`.

- Fix a bug in :class:`imblearn.FunctionSampler` where validation was performed
even with `validate=False` when calling `fit`.
:pr:`790` by :user:`Guillaume Lemaitre <glemaitre>`.
2 changes: 1 addition & 1 deletion imblearn/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
# 'X.Y.dev0' is the canonical version of 'X.Y.dev'
#

__version__ = "0.7.0"
__version__ = "0.8.0.dev0"
9 changes: 3 additions & 6 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.7.0
current_version = 0.8.0.dev0
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\.(?P<release>[a-z]+)(?P<dev>\d+))?
serialize =
Expand Down Expand Up @@ -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

0 comments on commit a66fb7d

Please sign in to comment.