Skip to content
This package has an overdue CRAN deadline (Oct 12) to fix its check problems; archival is imminent. See the check details

Distance Metric Learning in R

0packages depend
3.2Kdownloads / year
96.5%test coverage
0/13flavors OK

Overview

About

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.

Changes in 1.1.0
  • Added Semi-supervised Local Fisher Discriminant Analysis (SELF) algorithm
  • Existing algorithms in this package are tested

From NEWS in the release

Install

Health

CRAN checks
13NOTE
Check messages
NOTERd filesr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
checkRd: (-1) dca.Rd:24: Lost braces; missing escapes or markup?
    24 | \eqn{neglinks_{ij} = 1} means chunklet \code{i} and chunklet {j}
       |                                                              ^
checkRd: (-1) dca.Rd:26: Lost braces; missing escapes or markup?
    26 | \eqn{neglinks_{ij} = 0} means chunklet \code{i} and chunklet {j}
       |                                                              ^
checkRd: (-1) rca.Rd:57: Lost braces; missing escapes or markup?
    57 |       e.g. {1, 3, 7} and {4, 6}, might belong to the
       |            ^
checkRd: (-1) rca.Rd:57: Lost braces; missing escapes or markup?
    57 |       e.g. {1, 3, 7} and {4, 6}, might belong to the
       |                          ^
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Yuan Tang <terrytangyuan@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Yuan",
                      family = "Tang",
                      role = c("aut", "cre"),
                      email = "terrytangyuan@gmail.com"),
               person(given = "Gao",
                      family = "Tao",
                      role = "aut",
                      email = "joegaotao@gmail.com"),
               person(given = "Xiao",
                      family = "Nan",
                      role = "aut",
                      email = "road2stat@gmail.com"))
as necessary.

CRAN check page ↗

Slowest check: 1.7 min · r-oldrel-windows-x86_64
Status changes
  • NOTE13 NOTENow
  • NOTE14 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.1.0
READMEYes · 240 wordsVignettesNoNEWSYes · 67% structured · mentions 1.1.0Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
4
Examples that run
0%4 never run
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
100%

Downloads

3.2K
CRAN downloads in the past year
Rank #9,596 · ~9/day · ~270/mo
Daily download trend is not available in this view yet.
35130 days
1K90 days
3.2K1 year
Compare downloads with other packages →
Also on76 r2u7 autocran981 conda_forge

Repository

58Stars
30Forks
10Open issues
0Open PRs
2Releases
103Commits
12Commit identities
rdistance-metric-learningmachine-learningstatisticsdimensionality-reductionmetric-learning
License file reads as MIT · 103 commits · Last activity 2023-07-07 · Default branch at 1.1.0.9001, ahead of CRAN 1.1.0 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
77%
Median days to close, 50 most recently updated closed issues
1
Median days to close, 50 most recently updated closed PRs
0

Stars over time

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

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

Checks run against github.com/terrytangyuan/dml on 2026-10-11.

Continuous integration (1)
Travis CI (config file)
Governance and community (4)
Code of conductContributing guide

Funding links: GitHub Sponsors

The repository owner accepts GitHub Sponsors

CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)

Installing dml adds 6 packages (4 with compiled code, 4.0 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppEigen 1.7 MB, plyr 392 KB.

Depends (1)
MASS
Imports (1)
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (from the free-text Author field) (3)

Maintainer since 1.1.0 (2015)

Releases (1)
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • 1.1.0Latest
    2015-08-29 · current release
  • R
    R 3.2.0 released · 2015-04-16

Package metadata

First published
2015-08-29
Total releases
1 / 11 yrs
License
MIT + file LICENSE OSI
Download size
12 KB

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-10-17. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-17, 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