Some gists:
https://gist.github.com/kcarnold/5439917
https://gist.github.com/kcarnold/5439945
They are rather terribly documented, sorry.
Input to such algorithms is usually given as:
- a set of similarity and dissimilarity links,
- relative comparisons (x is closer to y than w is to z), or
- target distances (x should be no farther than q from y).
The outputs of all methods I've worked with are Mahalanobis distances.
-Ken
On Mon, Apr 22, 2013 at 8:41 PM, Mathieu Blondel <math...@mblondel.org>wrote:
>
> On Mon, Apr 22, 2013 at 3:56 PM, Alexandre Gramfort <
> alexandre.gramf...@inria.fr> wrote:
>
>> > If people were interested in putting together a separate package in the
>> > style of the scikit collecting metric learning algorithms with a common
>> API,
>> > I would love to contribute to that too.
>>
>
> I'm also interested in metric learning but as others said we need to come
> up with a good API. For example, how would use expose the learned metric,
> say to reuse it in a k-NN? Since several people mentioned that they have
> code, it would be helpful to put it in a gist so we can come up with a
> unified API.
>
> Mathieu
>
>
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> Scikit-learn-general mailing list
> Scikit-learn-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
>
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general