Skip to content
CRAN requires the check problems on this package to be fixed before 2026-08-31 or it will be archived.

dml

1.1.0

Distance Metric Learning in R

0packages depend
3Kdownloads / year
96.5%test coverage
0/13checks pass

Overview

About
Maintained by Yuan TangFirst published 2015-08-291 releasesCRAN page ↗GitHub ↗

The state-of-the-art algorithms for distance metric learning, including global and local methods such as Relevant Component Analysis, Discriminative Component Analysis, Local Fisher Discriminant Analysis, etc. These distance metric learning methods are widely applied in feature extraction, dimensionality reduction, clustering, classification, information retrieval, and computer vision problems.

Install

Health

CRAN checks
13NOTE
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
  • NOTE r-devel-linux-x86_64-fedora-clang
  • NOTE r-devel-linux-x86_64-fedora-gcc
  • NOTE r-devel-windows-x86_64
  • NOTE r-oldrel-macos-arm64
  • NOTE r-oldrel-macos-x86_64
  • NOTE r-oldrel-windows-x86_64
  • NOTE r-patched-linux-x86_64
  • NOTE r-release-linux-x86_64
  • NOTE r-release-macos-arm64
  • NOTE r-release-macos-x86_64
  • NOTE r-release-windows-x86_64
Slowest check: 1.7 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.12
96.5%
Coverage · measured lines
100%
Documentation · exports
2
Dependencies · direct
Check history
  • NOTE2026-03-10
    0 OK · 14 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 240 wordsVignettesNopkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
0%
Documented parameters
100%
Return-value docs
100%
References docs
100%

Downloads

3K
CRAN downloads in the past year
Rank #14,381 · ~8/day · ~246/mo
Daily download trend is not available in this view yet.
17630 days
70790 days
3K1 year
Compare downloads with other packages →
Also on100 r2u10 autocran1.2K conda_forge

Repository

Repository
58Stars
30Forks
10Open issues
0Open PRs
2Releases
103Commits
12Contributors
rdistance-metric-learningmachine-learningstatisticsdimensionality-reductionmetric-learning
License MIT · 103 commits · Last activity 2023-07-07

Stars over time

2024-04-23 · 582026-07-07 · 58

Repository practices

Upstream repositoryBeta

3 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/terrytangyuan/dml on 2026-08-09.

Continuous integration (1)
Travis CI
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)
Depends (1)
MASS
Imports (1)
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (0)

Author records are not tracked yet for this package.

Listed in earlier versions (3)
no longer listed · 1.1.0
no longer listed · 1.1.0
no longer listed · 1.1.0
Package Timeline

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.0Latest
    2026-03-10 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2015-08-29
Total releases
1 / 11 yrs
License
MIT + file LICENSE OSI
Download size
12 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("dml")

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for dml version 1.1.0 [Data set]. HJJB, LLC. Data release v2026-08-09. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-09, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy