README.md

rDML

Distance Metric Learning Algorithms for R. This library is a R wrapper for the Python pyDML package.

What is Distance Metric Learning?

Many machine learning algorithms need a similarity measure to carry out their tasks. Usually, standard distances, like euclidean distance, are used to measure this similarity. Distance Metric Learning algorithms try to learn an optimal distance from the data.

How to learn a distance?

There are two main ways to learn a distance in Distance Metric Learning:

Every linear map defines a single metric (M = L'L), and two linear maps that define the same metric only differ in an isometry. So both approaches are equivalent.

Some applications

Improve distance based classifiers

Improving 1-NN classification.

Dimensionality reduction

Learning a projection onto a plane for the digits dataset (dimension 64).

Documentation

Watch the package documentation here. For more details about the wrapped algorithms, see also the pyDML's documentation.

Installation

Authors



jlsuarezdiaz/rDML documentation built on May 24, 2019, 12:35 a.m.