8000 FIX: removed flake8 errors · scikit-learn/scikit-learn@00167cb · GitHub
[go: up one dir, main page]

Skip to content

Commit 00167cb

Browse files
committed
FIX: removed flake8 errors
1 parent daff290 commit 00167cb

16 files changed

+8
-6
lines changed
769 KB
Binary file not shown.
755 KB
Binary file not shown.
Binary file not shown.

sklearn/metrics/pairwise.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1155,7 +1155,8 @@ def pairwise_distances_blockwise(X, Y=None, metric='euclidean', n_jobs=1,
11551155
Array of pairwise distances between samples, or a feature array.
11561156
11571157
Y : array [n_samples_b, n_features], optional
1158-
An optional second feature array. Only allowed if metric != "precomputed".
1158+
An optional second feature array. Only allowed if
1159+
metric != "precomputed".
11591160
11601161
metric : string, or callable
11611162
The metric to use when calculating distance between instances in a
@@ -1190,10 +1191,10 @@ def pairwise_distances_blockwise(X, Y=None, metric='euclidean', n_jobs=1,
11901191
Returns
11911192
-------
11921193
D : generator of blocks based on the ``block_size`` parameter. The blocks,
1193-
when concatenated, produce a distance matrix D such that D_{i, j} is the
1194-
distance between the ith and jth vectors of the given matrix X, if Y is
1195-
None. If Y is not None, then D_{i, j} is the distance between the ith
1196-
array from X and the jth array from Y.
1194+
when concatenated, produce a distance matrix D such that D_{i, j} is
1195+
the distance between the ith and jth vectors of the given matrix X, if
1196+
Y is None. If Y is not None, then D_{i, j} is the distance between the
1197+
ith array from X and the jth array from Y.
11971198
11981199
"""
11991200
n_samples = X.shape[0]
@@ -1253,7 +1254,8 @@ def pairwise_distances(X, Y=None, metric="euclidean", n_jobs=1, **kwds):
12531254
Array of pairwise distances between samples, or a feature array.
12541255
12551256
Y : array [n_samples_b, n_features], optional
1256-
An optional second feature array. Only allowed if metric != "precomputed".
1257+
An optional second feature array. Only allowed if
1258+
metric != "precomputed".
12571259
12581260
metric : string, or callable
12591261
The metric to use when calculating distance between instances in a
1.78 MB
Binary file not shown.
1.74 MB
Binary file not shown.
1.08 MB
Binary file not shown.
50.4 KB
Binary file not shown.
838 KB
Binary file not shown.
452 KB
Binary file not shown.
310 KB
Binary file not shown.
227 KB
Binary file not shown.
331 KB
Binary file not shown.
1.54 MB
Binary file not shown.
376 KB
Binary file not shown.
167 KB
Binary file not shown.

0 commit comments

Comments
 (0)
0