Skip to content

Commit 4a6caea

Browse files
authored
fix docstring (#351)
1 parent 17216a7 commit 4a6caea

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

metric_learn/scml.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -328,9 +328,10 @@ class SCML(_BaseSCML, _TripletsClassifierMixin):
328328
'triplet_diffs', and an array-like of shape (n_basis, n_features).
329329
330330
'triplet_diffs'
331-
The basis set is constructed from the differences between points of
332-
`n_basis` positive or negative pairs taken from the triplets
333-
constrains.
331+
The basis set is constructed iteratively from differences between points
332+
of `n_features` positive or negative pairs randomly sampled from the
333+
triplets constraints. Requires the number of training triplets to be
334+
great or equal to `n_features`.
334335
335336
array-like
336337
A matrix of shape (n_basis, n_features), that will be used as

0 commit comments

Comments
 (0)