Skip to content

Commit a2fadcc

Browse files
committed
DOC remove double line breaks (#881)
1 parent 2e6a2d7 commit a2fadcc

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

imblearn/over_sampling/_smote/geometric.py

+2-6
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ def _make_geometric_sample(
9191
class GeometricSMOTE(BaseOverSampler):
9292
"""Class to to perform over-sampling using Geometric SMOTE.
9393
94-
This algorithm is an implementation of Geometric SMOTE, a geometrically
95-
enhanced drop-in replacement for SMOTE as presented in [1]_.
94+
This algorithm is an implementation of Geometric SMOTE, a geometrically enhanced
95+
drop-in replacement for SMOTE as presented in [1]_.
9696
9797
Read more in the :ref:`User Guide <user_guide>`.
9898
@@ -123,7 +123,6 @@ class GeometricSMOTE(BaseOverSampler):
123123
124124
Attributes
125125
----------
126-
127126
sampling_strategy_ : dict
128127
Dictionary containing the information to sample the dataset. The keys
129128
corresponds to the class labels from which to sample and the values
@@ -157,7 +156,6 @@ class GeometricSMOTE(BaseOverSampler):
157156
158157
References
159158
----------
160-
161159
.. [1] G. Douzas, F. Bacao, "Geometric SMOTE:
162160
a geometrically enhanced drop-in replacement for SMOTE",
163161
Information Sciences, vol. 501, pp. 118-135, 2019.
@@ -168,7 +166,6 @@ class GeometricSMOTE(BaseOverSampler):
168166
169167
Examples
170168
--------
171-
172169
>>> from collections import Counter
173170
>>> from sklearn.datasets import make_classification
174171
>>> from imblearn.over_sampling import \
@@ -182,7 +179,6 @@ class GeometricSMOTE(BaseOverSampler):
182179
>>> X_res, y_res = gsmote.fit_resample(X, y)
183180
>>> print('Resampled dataset shape %s' % Counter(y_res))
184181
Resampled dataset shape Counter({{0: 900, 1: 900}})
185-
186182
"""
187183

188184
def __init__(

0 commit comments

Comments
 (0)