Skip to content

Commit c7b8244

Browse files
authored
Solve issue #150 (#151)
* Solve issue #150 * Release 0.1.8
1 parent 8dd9302 commit c7b8244

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

conda-recipe/imbalanced-learn/meta.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package:
22
name: imbalanced-learn
3-
version: "0.1.7"
3+
version: "0.1.8"
44

55
source:
6-
git_rev: 0.1.7
6+
git_rev: 0.1.8
77
git_url: https://github.com/scikit-learn-contrib/imbalanced-learn.git
88

99
requirements:

doc/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
# built documents.
8888
#
8989
# The short X.Y version.
90-
__version__ = '0.1.7'
90+
__version__ = '0.1.8'
9191
version = __version__
9292
# The full version, including alpha/beta/rc tags.
9393
release = __version__

imblearn/under_sampling/edited_nearest_neighbours.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -348,8 +348,8 @@ def _sample(self, X, y):
348348
self.logger.debug('Current ENN stats: %s', stats_enn)
349349
# Get the number of samples in the non-minority classes
350350
count_non_min = np.array([val for val, key
351-
in zip(stats_enn.itervalues(),
352-
stats_enn.iterkeys())
351+
in zip(stats_enn.values(),
352+
stats_enn.keys())
353353
if key != self.min_c_])
354354
self.logger.debug('Number of samples in the non-majority'
355355
' classes: %s', count_non_min)

imblearn/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# Dev branch marker is: 'X.Y.dev' or 'X.Y.devN' where N is an integer.
2222
# 'X.Y.dev0' is the canonical version of 'X.Y.dev'
2323
#
24-
__version__ = '0.1.7'
24+
__version__ = '0.1.8'
2525

2626
_IMBALANCED_DATASET_INSTALL_MSG = 'See %s for installation information.' % (
2727
'glemaitre.github.io/UnbalancedDataset/install.html')

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.1.7
2+
current_version = 0.1.8
33
tag = False
44
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\.(?P<release>[a-z]+)(?P<dev>\d+))?
55
serialize =

0 commit comments

Comments
 (0)