Weighted Metrics and Performance Measures for Machine Learning
Overview
Provides weighted versions of several metrics and performance measures used in machine learning, including average unit deviances of the Bernoulli, Tweedie, Poisson, and Gamma distributions, see Jorgensen B. (1997, ISBN: 978-0412997112). The package also contains a weighted version of generalized R-squared, see e.g. Cohen, J. et al. (2002, ISBN: 978-0805822236). Furthermore, 'dplyr' chains are supported.
Minor improvements
- Better code formatting.
- More return() statements.
- Speed-up for some regression metrics.
- Push code coverage version.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 12
- Examples that run
- 100%12 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 99%
- Return-value docs
- 100%
- Help pages citing references
- 33%
- MetricsWeighted HTML
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 7
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
9 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/mayer79/metricsweighted on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2025-04-12 · The repository has a site deploy workflow
Show all practicesHide 1 practice
Dependencies
Installing MetricsWeighted adds no packages beyond those that come with R.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.0.4Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.0.32023-11-16 · diff ↗
- 1.0.22023-06-05 · diff ↗
- 1.0.12023-05-12 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.0.02023-04-16 · diff ↗
- 0.5.52023-03-24 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 0.5.42022-01-23 · diff ↗
- 0.5.3
- RR 4.1.0 released · 2021-05-18
- 0.5.22021-04-16 · diff ↗
- RR 4.0.0 released · 2020-04-24
Show 7 earlier eventsHide 7 earlier events
- 0.5.1
- 0.5.02020-01-09 · diff ↗ ·
added 3 exports
elementary_score_expectile, elementary_score_quantile, multi_metric - 0.4.0
- 0.3.0
- 0.2.0
- 0.1.02019-07-28
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2019-07-28
- Total releases
- 15 / 7 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.1.0
- Download size
- 70 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("MetricsWeighted")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.