Skip to content

Commit 12b5429

Browse files
author
William de Vazelhes
committed
FIX remove possible one-sample scoring from docstring for now
1 parent 65e794a commit 12b5429

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

metric_learn/base_metric.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ def score_pairs(self, pairs):
1818
1919
Parameters
2020
----------
21-
pairs : `numpy.ndarray`, shape=(n_samples, [2,] n_features)
22-
3D array of pairs, or 2D array of one pair.
21+
pairs : `numpy.ndarray`, shape=(n_samples, 2, n_features)
22+
3D array of pairs.
2323
2424
Returns
2525
-------
26-
scores: `numpy.ndarray` of shape=(n_pairs,) or scalar
26+
scores: `numpy.ndarray` of shape=(n_pairs,)
2727
The score of every pair.
2828
"""
2929

0 commit comments

Comments
 (0)