Package: RMCLab 0.1.0

Andreas Alfons

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.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://cran.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

1.70 score 1 scripts 175 downloads 17 exports 5 dependencies

Last updated from:630bbd5da4. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK137
linux-devel-x86_64OK141
source / vignettesOK189
linux-release-arm64OK124
linux-release-x86_64OK136
wasm-releaseOK97

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