Skip to content

Commit 666e5fe

Browse files
glemaitrechkoar
andauthored
Apply suggestions from code review
Co-authored-by: Christos Aridas <[email protected]>
1 parent 2bde738 commit 666e5fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/miscellaneous.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ The :func:`~imblearn.tensorflow.balanced_batch_generator` allows to generate
7373
balanced mini-batches using an imbalanced-learn sampler which returns indices.
7474

7575
Let's first generate some data::
76+
7677
>>> n_features, n_classes = 10, 2
7778
>>> X, y = make_classification(
7879
... n_samples=10_000, n_features=n_features, n_informative=2,
@@ -96,7 +97,7 @@ balanced::
9697
... random_state=42,
9798
... )
9899

99-
The ``generator`` and ``steps_per_epoch`` are used during the training of the
100+
The ``generator`` and ``steps_per_epoch`` are used during the training of a
100101
Tensorflow model. We will illustrate how to use this generator. First, we can
101102
define a logistic regression model which will be optimized by a gradient
102103
descent::

0 commit comments

Comments
 (0)