Package: RMCLab 0.1.0

RMCLab: Lab for Matrix Completion and Imputation of Discrete Rating Data

Collection of methods for rating matrix completion, which is a statistical framework for recommender systems. Another relevant application is the imputation of rating-scale survey data in the social and behavioral sciences. Note that matrix completion and imputation are synonymous terms used in different streams of the literature. The main functionality implements robust matrix completion for discrete rating-scale data with a low-rank constraint on a latent continuous matrix (Archimbaud, Alfons, and Wilms (2025) <doi:10.48550/arXiv.2412.20802>). In addition, the package provides wrapper functions for 'softImpute' (Mazumder, Hastie, and Tibshirani, 2010, <https://www.jmlr.org/papers/v11/mazumder10a.html>; Hastie, Mazumder, Lee, Zadeh, 2015, <https://www.jmlr.org/papers/v16/hastie15a.html>) for easy tuning of the regularization parameter, as well as benchmark methods such as median imputation and mode imputation.

Authors:Andreas Alfons [aut, cre], Aurore Archimbaud [aut]

RMCLab_0.1.0.tar.gz
RMCLab_0.1.0.zip(r-4.7)RMCLab_0.1.0.zip(r-4.6)RMCLab_0.1.0.zip(r-4.5)
RMCLab_0.1.0.tgz(r-4.6-x86_64)RMCLab_0.1.0.tgz(r-4.6-arm64)RMCLab_0.1.0.tgz(r-4.5-x86_64)RMCLab_0.1.0.tgz(r-4.5-arm64)
RMCLab_0.1.0.tar.gz(r-4.7-arm64)RMCLab_0.1.0.tar.gz(r-4.7-x86_64)RMCLab_0.1.0.tar.gz(r-4.6-arm64)RMCLab_0.1.0.tar.gz(r-4.6-x86_64)
RMCLab_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
RMCLab/json (API)

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

Bug tracker:https://github.com/aalfons/rmclab/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
Datasets:
  • MovieLensToy - Toy example derived from the MovieLens 100K dataset

On CRAN:

Conda:

openblascpp

3.00 score 1 scripts 175 downloads 17 exports 5 dependencies

Last updated from:209194f798. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK169
linux-devel-x86_64OK138
source / vignettesOK171
linux-release-arm64OK130
linux-release-x86_64OK130
macos-release-arm64OK95
macos-release-x86_64OK343
macos-oldrel-arm64OK96
macos-oldrel-x86_64OK214
windows-develOK117
windows-releaseOK152
windows-oldrelOK110
wasm-releaseOK98

Exports:create_splitscv_foldscv_folds_controlfraction_gridget_completedget_imputedget_lambdaget_nb_iterholdoutholdout_controlmedian_imputemode_imputemult_gridrdmcrdmc_tunesoft_imputesoft_impute_tune

Dependencies:latticeMatrixRcppRcppArmadillosoftImpute

Readme and manuals

Help Manual

Help pageTopics
Lab for Matrix Completion and Imputation of Discrete Rating DataRMCLab-package RMCLab
Create splits of observed data cells for hyperparameter tuningcreate_splits cv_folds holdout
Extract the completed (imputed) data matrixget_completed get_completed.median_impute get_completed.mode_impute get_completed.rdmc get_completed.rdmc_tuned get_completed.soft_impute get_completed.soft_impute_tuned get_imputed
Extract the optimal value of the regularization parameterget_lambda get_lambda.rdmc get_lambda.rdmc_tuned get_lambda.soft_impute get_lambda.soft_impute_tuned
Extract the number of iterationsget_nb_iter get_nb_iter.rdmc get_nb_iter.rdmc_tuned
Construct grid of values for the regularization parameterfraction_grid lambda_grid mult_grid
Median imputationmedian_impute
Mode imputationmode_impute
Toy example derived from the MovieLens 100K datasetMovieLensToy
Robust discrete matrix completionrdmc
Robust discrete matrix completion with hyperparameter tuningrdmc_tune
Matrix completion via nuclear-norm regularizationsoft_impute
Matrix completion via nuclear-norm regularization with hyperparameter tuningsoft_impute_tune
Control objects for hyperparameter validationcv_folds_control holdout_control validation_control