Skip to content

Commit 2c4a363

Browse files
authored
Merge pull request #83 from chkoar/remove_unbalanced_mentions
Remove any mentions of unbalanced_dataset in docs
2 parents b6e015e + ed14eb2 commit 2c4a363

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

imblearn/pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
The :mod:`unbalanced_dataset.pipeline` module implements utilities to build a
2+
The :mod:`imblearn.pipeline` module implements utilities to build a
33
composite estimator, as a chain of transforms, samples and estimators.
44
"""
55
# Adapted from scikit-learn

imblearn/version.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""
1+
"""
22
``imbalanced-learn`` is a set of python methods to deal with imbalanced
33
datset in machine learning and pattern recognition.
44
"""
@@ -56,7 +56,7 @@ def _import_module_with_version_check(module_name, minimum_version,
5656
user_friendly_info = ('Module "{0}" could not be found. {1}').format(
5757
module_name,
5858
install_info or 'Please install it properly to use'
59-
' unbalanced_dataset.')
59+
' imbalanced-learn.')
6060
exc.args += (user_friendly_info,)
6161
raise
6262

@@ -69,7 +69,7 @@ def _import_module_with_version_check(module_name, minimum_version,
6969
if version_too_old:
7070
message = (
7171
'A {module_name} version of at least {minimum_version} '
72-
'is required to use unbalanced_dataset. {module_version} was '
72+
'is required to use imbalanced-learn. {module_version} was '
7373
'found. Please upgrade {module_name}').format(
7474
module_name=module_name,
7575
minimum_version=minimum_version,
@@ -81,10 +81,10 @@ def _import_module_with_version_check(module_name, minimum_version,
8181

8282

8383
def _check_module_dependencies(is_imbalanced_dataset_installing=False):
84-
"""Throw an exception if unbalanced_dataset dependencies are not installed.
84+
"""Throw an exception if imbalanced-learn dependencies are not installed.
8585
Parameters
8686
----------
87-
is_unbalanced_dataset_installing: boolean
87+
is_imbalanced_dataset_installing: boolean
8888
if True, only error on missing packages that cannot be auto-installed.
8989
if False, error on any missing package.
9090
Throws

0 commit comments

Comments
 (0)