manydist
0.5.0Distance-Based Learning for Mixed-Type Data
Overview
Provides tools for constructing, computing, and using distance measures for numerical, categorical, and mixed-type data. The package implements a flexible framework in which continuous and categorical components can be combined under additive, commensurable, and association-aware specifications. Supported methods include classical distances such as Gower, Euclidean, Manhattan, and Mahalanobis-type distances; categorical dissimilarities such as simple matching, occurrence-frequency, and association-based measures; and mixed-type presets designed to reduce biases due to variable type, scale, distribution, redundancy, and number of categories. The package also provides scaling options, supervised and unsupervised distance constructions, leave-one-variable-out tools for distance-based variable importance, and integration with distance-based learning workflows such as nearest-neighbour prediction, partitioning around medoids, and spectral clustering. Methods are motivated by van de Velden, Iodice D'Enza, Markos, and Cavicchia (2026) doi:10.1080/10618600.2026.2680181 and related work on categorical and mixed-type dissimilarities.
Install
Health
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 63%
- Documented parameters
- 100%
- Return-value docs
- 92%
- References docs
- 7%
Downloads
Dependencies
Nothing depends on this yet.
Code & Tests
Datasets
People & History
7 releases. Pick two to compare their code metrics. R releases are shown for context.
Package metadata
- First published
- 2025-02-12
- Total releases
- 7 / 1 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.5.0
- Bundled data
- 12 KB / 1 file
- Download size
- 35 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet