Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions metric_learn/scml.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,9 +328,10 @@ class SCML(_BaseSCML, _TripletsClassifierMixin):
'triplet_diffs', and an array-like of shape (n_basis, n_features).

'triplet_diffs'
The basis set is constructed from the differences between points of
`n_basis` positive or negative pairs taken from the triplets
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
great or equal to `n_features`.

array-like
A matrix of shape (n_basis, n_features), that will be used as
Expand Down