metric-learn
metric-learn copied to clipboard
Metric learning algorithms in Python
Because [SCML](http://researchers.lille.inria.fr/abellet/papers/aaai14.pdf) optimization procedure is based on stochastic subgradient descent, we can save the weights after fitting the model, and use them in a following fit call (with a different...
Addresses my request in #210. 1. Introduces a _BaseLMNN/ LMNN class to operate on triplets, s.t. `d(triplets[i, 0],triplets[i, 1]) < d(triplets[i, 0], triplets[i, 2])` - the same setup as SCML....
#### Description LMNN's code could be refactored to be more simple to read (see comment https://github.com/metric-learn/metric-learn/pull/201#issuecomment-496948016) see also https://github.com/metric-learn/metric-learn/pull/201#discussion_r286032898
@bellet @perimosocordiae @terrytangyuan @wdevazelhes Motivated by #259 , I made this docs for new developers like a guide in _How to_ contribute to the package. I followed the scikit-learn guideline...
Hi! In the aim of implementing [OASIS](https://www.jmlr.org/papers/volume11/chechik10a/chechik10a.pdf) algorithm, I open this PR to discuss the implementation of the BilinearMixin class. Which is a requirement for the algorithm. I've made some...
Hi! I am currently implementing the [OASIS](https://www.jmlr.org/papers/volume11/chechik10a/chechik10a.pdf) algorithm and I open this PR to make the implementation transparent while working on it. Any discussion, question or comments is very welcomed....
I created a model selection example for supervised Mahalanobis learners, to show the effectiveness of the linear transformation. I use a "large" dataset from sklearn: Labeled Faces in the Wild...
Hi all, this is a PR to replace LMNN. I have submitted this version also to scikit-learn some time ago (see https://github.com/scikit-learn/scikit-learn/pull/8602) and @bellet suggested to submit here too. I...
It would be nice to have an example in the doc which demonstrates how to calibrate the pairwise metric learners with respect to several scores as introduced in #168, as...
Currently `RCA` is in Pairs Learners in the doc, where it shouldn't. It should probably be in "Supervised"