Skip to content

Commit 1c30fbe

Browse files
author
Guillaume Lemaitre
committed
DOC solve issue sphinx
1 parent 77d57ea commit 1c30fbe

File tree

3 files changed

+6
-14
lines changed

3 files changed

+6
-14
lines changed

doc/api.rst

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ Classes
7171
combine.SMOTEENN
7272
combine.SMOTETomek
7373

74+
7475
.. _ensemble_ref:
7576

7677
Ensemble methods
@@ -100,19 +101,13 @@ Pipeline
100101
:no-members:
101102
:no-inherited-members:
102103

103-
Classes
104-
-------
105104
.. currentmodule:: unbalanced_dataset
106105

107106
.. autosummary::
108107
:toctree: generated/
109108

110109
pipeline.Pipeline
111110

112-
Functions
113-
---------
114-
.. currentmodule:: unbalanced_dataset
115-
116111
.. autosummary::
117112
:toctree: generated/
118113

unbalanced_dataset/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
Module which provides helper methods.
1919
"""
2020

21-
from .version import _check_module_dependencies
21+
from .version import _check_module_dependencies, __version__
2222

2323
_check_module_dependencies()
2424

@@ -34,4 +34,5 @@
3434
'ensemble',
3535
'over_sampling',
3636
'under_sampling',
37-
'pipeline']
37+
'pipeline',
38+
'__version__']

unbalanced_dataset/pipeline.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
"""
2-
The :mod:`unbalanced_dataset.pipeline` module implements utilities to build
3-
a composite estimator, as a chain of transforms, samples and estimators.
2+
The :mod:`unbalanced_dataset.pipeline` module implements utilities to build a
3+
composite estimator, as a chain of transforms, samples and estimators.
44
"""
5-
6-
# Adapted from
7-
# https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/pipeline.py
8-
95
# Author: Edouard Duchesnay
106
# Gael Varoquaux
117
# Virgile Fritsch

0 commit comments

Comments
 (0)