Skip to content

Commit 108105d

Browse files
massichglemaitre
authored andcommitted
DOC fix minor errors in developer's utils (#326)
1 parent a864553 commit 108105d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

doc/developers_utils.rst

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,12 @@ All the following functions and classes are in the module :mod:`imblearn.utils`.
1515
imbalance-learn. Backports, in particular, will be removed as the
1616
imbalance-learn dependencies evolve.
1717
18-
.. currentmodule:: imblearn.utils
1918
2019
Validation Tools
2120
================
2221

22+
.. currentmodule:: imblearn.utils
23+
2324
These are tools used to check and validate input. When you write a function
2425
which accepts arrays, matrices, or sparse matrices as arguments, the following
2526
should be used when applicable.
@@ -29,8 +30,11 @@ should be used when applicable.
2930
- :func:`check_ratio`: Checks ratio for consistent type and return a dictionary
3031
containing each targeted class with its corresponding number of pixel.
3132

33+
3234
Deprecation
33-
-----------
35+
===========
36+
37+
.. currentmodule:: imblearn.utils.deprecation
3438

3539
.. warning ::
3640
Apart from :func:`deprecate_parameter` the rest of this section is taken from
@@ -96,3 +100,4 @@ same information as the deprecation warning as explained above. Use the
96100
On the top of all the functionality provided by scikit-learn. Imbalance-learn
97101
provides :func:`deprecate_parameter`: which is used to deprecate a sampler's
98102
parameter (attribute) by another one.
103+

0 commit comments

Comments
 (0)