We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17216a7 commit 4a6caeaCopy full SHA for 4a6caea
metric_learn/scml.py
@@ -328,9 +328,10 @@ class SCML(_BaseSCML, _TripletsClassifierMixin):
328
'triplet_diffs', and an array-like of shape (n_basis, n_features).
329
330
'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.
+ The basis set is constructed iteratively from differences between points
+ of `n_features` positive or negative pairs randomly sampled from the
+ triplets constraints. Requires the number of training triplets to be
334
+ great or equal to `n_features`.
335
336
array-like
337
A matrix of shape (n_basis, n_features), that will be used as
0 commit comments