Package: recometrics 0.1.6-3

David Cortes

recometrics: Evaluation Metrics for Implicit-Feedback Recommender Systems

Calculates evaluation metrics for implicit-feedback recommender systems that are based on low-rank matrix factorization models, given the fitted model matrices and data, thus allowing to compare models from a variety of libraries. Metrics include P@K (precision-at-k, for top-K recommendations), R@K (recall at k), AP@K (average precision at k), NDCG@K (normalized discounted cumulative gain at k), Hit@K (from which the 'Hit Rate' is calculated), RR@K (reciprocal rank at k, from which the 'MRR' or 'mean reciprocal rank' is calculated), ROC-AUC (area under the receiver-operating characteristic curve), and PR-AUC (area under the precision-recall curve). These are calculated on a per-user basis according to the ranking of items induced by the model, using efficient multi-threaded routines. Also provides functions for creating train-test splits for model fitting and evaluation.

Authors:David Cortes

recometrics_0.1.6-3.tar.gz
recometrics_0.1.6-3.tar.gz(r-4.7-arm64)recometrics_0.1.6-3.tar.gz(r-4.7-x86_64)recometrics_0.1.6-3.tar.gz(r-4.6-arm64)recometrics_0.1.6-3.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html
card.svg |card.png
recometrics/json (API)

# Install 'recometrics' in R:
install.packages('recometrics', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/david-cortes/recometrics/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library

On CRAN:

Conda:

openblascppopenmp

2.00 score 9 scripts 229 downloads 2 exports 6 dependencies

Last updated from:05fdda4a9a. Checks:4 NOTE, 1 OK, 1 FAIL. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64NOTE171
linux-devel-x86_64NOTE161
source / vignettesOK194
linux-release-arm64NOTE196
linux-release-x86_64NOTE163
wasm-releaseFAIL122

Exports:calc.reco.metricscreate.reco.train.test

Dependencies:floatlatticeMatrixMatrixExtraRcppRhpcBLASctl

Evaluating recommender systems

Rendered fromEvaluating_recommender_systems.Rmdusingknitr::rmarkdownon Jun 13 2026.

Last update: 2021-09-02
Started: 2021-07-15