File tree Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -6,10 +6,10 @@ Dataset loading utilities
66
77.. currentmodule :: imblearn.datasets
88
9- The `` imblearn.datasets `` package is complementing the `` sklearn.datasets ``
10- package. The package provides both: (i) a set of imbalanced datasets to perform
11- systematic benchmark and (ii) a utility to create an imbalanced dataset from an
12- original balanced dataset.
9+ The :mod: ` imblearn.datasets ` package is complementing the
10+ :mod: ` sklearn.datasets ` package. The package provides both: (i) a set of
11+ imbalanced datasets to perform systematic benchmark and (ii) a utility to
12+ create an imbalanced dataset from an original balanced dataset.
1313
1414.. _zenodo :
1515
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ will generate balanced mini-batches.
6969TensorFlow generator
7070~~~~~~~~~~~~~~~~~~~~
7171
72- The :func: `imblearn.tensorflow.balanced_batch_generator ` allow to generate
72+ The :func: `~ imblearn.tensorflow.balanced_batch_generator ` allow to generate
7373balanced mini-batches using an imbalanced-learn sampler which returns indices::
7474
7575 >>> X = X.astype(np.float32)
@@ -143,8 +143,9 @@ define a logistic regression model::
143143 >>> model.compile(optimizer='sgd', loss='categorical_crossentropy',
144144 ... metrics=['accuracy'])
145145
146- :func: `imblearn.keras.balanced_batch_generator ` creates a balanced mini-batches
147- generator with the associated number of mini-batches which will be generated::
146+ :func: `~imblearn.keras.balanced_batch_generator ` creates a balanced
147+ mini-batches generator with the associated number of mini-batches which will be
148+ generated::
148149
149150 >>> from imblearn.keras import balanced_batch_generator
150151 >>> training_generator, steps_per_epoch = balanced_batch_generator(
Original file line number Diff line number Diff line change 33Create an imbalanced dataset
44============================
55
6- An illustration of the :func:`imblearn.datasets.make_imbalance` function to
6+ An illustration of the :func:`~ imblearn.datasets.make_imbalance` function to
77create an imbalanced dataset from a balanced dataset. We show the ability of
8- :func:`imblearn.datasets.make_imbalance` of dealing with Pandas DataFrame.
8+ :func:`~ imblearn.datasets.make_imbalance` of dealing with Pandas DataFrame.
99
1010"""
1111
You can’t perform that action at this time.
0 commit comments