This PR is intended to allow the implementation of algorithms that learn on triplets by adding the base class for this kind of learner. The semantic of triplets is similar to quadruplets but the positive and negative pairs are constructed with respect to the first element of the triplet, for this the added code follows closely the one for quadruplets.
The main reason for the creation of this is the implementation of SCML (PR #278) an algorithm that learns on triplets. This will also enable the implementation of future algorithms that learn on triplets.
TODO:
[x] add _TripletsClassifierMixin to base_metric.py
[WIP] Learning on Triplets
This PR is intended to allow the implementation of algorithms that learn on triplets by adding the base class for this kind of learner. The semantic of triplets is similar to quadruplets but the positive and negative pairs are constructed with respect to the first element of the triplet, for this the added code follows closely the one for quadruplets.
The main reason for the creation of this is the implementation of SCML (PR #278) an algorithm that learns on triplets. This will also enable the implementation of future algorithms that learn on triplets.
TODO:
_TripletsClassifierMixin
tobase_metric.py