Skip to content

kdml

1.1.1

Kernel Distance Metric Learning for Mixed-Type Data

1packages depend
2Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by John R. J. ThompsonFirst published 2024-08-273 releasesCRAN page ↗

Distance metrics for mixed-type data consisting of continuous, nominal, and ordinal variables. This methodology uses additive and product kernels to calculate similarity functions and metrics, and selects variables relevant to the underlying distance through bandwidth selection via maximum similarity cross-validation. These methods can be used in any distance-based algorithm, such as distance-based clustering. For further details, we refer the reader to Ghashti and Thompson (2024) doi:10.1007/s00357-024-09493-z for dkps() methodology, and Ghashti (2024) doi:10.14288/1.0443975 for dkss() methodology.

Install

Health

CRAN checks
13OK
Slowest check: 2.3 min · r-devel-linux-x86_64-fedora-clang
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
3
Dependencies · direct
Check history
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 30 wordsVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
29%
Documented parameters
100%
Return-value docs
100%
References docs
88%

Downloads

2K
CRAN downloads in the past year
Rank #19,277 · ~6/day · ~167/mo
Daily download trend is not available in this view yet.
20430 days
62290 days
2K1 year
Compare downloads with other packages →
Also on99 r2u4 autocran

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)
Depends (2)
R >= 3.5.0np
Imports (2)
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

Code Composition
Rd 1,289 (57%)R 834 (37%)Vignettes 154 (7%)
Code characteristics
Cyclomatic complexity
27.0 median / 35 max

Test coverage

Line coverage

Expression

Tests / Examples

Functions

7 7 exported

Complexity

26.1 avg / 35 max

Call network

7 nodes / 2 edges

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Package Timeline

3 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 1.1.1Latest
    2025-02-21 · current release · diff ↗
  • 1.1.0
    2024-09-21 · diff ↗
  • 1.0.0
    2024-08-27
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-08-27
Total releases
3 / 2 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.5.0
Download size
26 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →