Skip to content

Commit

Permalink
Solve issue #150 (#151)
Browse files Browse the repository at this point in the history
* Solve issue #150

* Release 0.1.8
  • Loading branch information
glemaitre authored Sep 7, 2016
1 parent 8dd9302 commit c7b8244
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions conda-recipe/imbalanced-learn/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package:
name: imbalanced-learn
version: "0.1.7"
version: "0.1.8"

source:
git_rev: 0.1.7
git_rev: 0.1.8
git_url: https://github.com/scikit-learn-contrib/imbalanced-learn.git

requirements:
Expand Down
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
# built documents.
#
# The short X.Y version.
__version__ = '0.1.7'
__version__ = '0.1.8'
version = __version__
# The full version, including alpha/beta/rc tags.
release = __version__
Expand Down
4 changes: 2 additions & 2 deletions imblearn/under_sampling/edited_nearest_neighbours.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,8 +348,8 @@ def _sample(self, X, y):
self.logger.debug('Current ENN stats: %s', stats_enn)
# Get the number of samples in the non-minority classes
count_non_min = np.array([val for val, key
in zip(stats_enn.itervalues(),
stats_enn.iterkeys())
in zip(stats_enn.values(),
stats_enn.keys())
if key != self.min_c_])
self.logger.debug('Number of samples in the non-majority'
' classes: %s', count_non_min)
Expand Down
2 changes: 1 addition & 1 deletion imblearn/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# Dev branch marker is: 'X.Y.dev' or 'X.Y.devN' where N is an integer.
# 'X.Y.dev0' is the canonical version of 'X.Y.dev'
#
__version__ = '0.1.7'
__version__ = '0.1.8'

_IMBALANCED_DATASET_INSTALL_MSG = 'See %s for installation information.' % (
'glemaitre.github.io/UnbalancedDataset/install.html')
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.1.7
current_version = 0.1.8
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\.(?P<release>[a-z]+)(?P<dev>\d+))?
serialize =
Expand Down

0 comments on commit c7b8244

Please sign in to comment.