Learn R Programming

About bcv

Methods for choosing the rank of an SVD approximation via cross validation. The package provides both Gabriel-style "block" holdouts and Wold-style "speckled" holdouts. It also includes an implementation of the SVDImpute algorithm. For more information about Bi-cross-validation, see Owen & Perry's 2009 AoAS article and Perry's 2009 PhD thesis.

Installation

bcv is available on CRAN, so installation is as simple as:

install.packages("bcv")

You can install the latest development version of the code using the devtools R package.

# Install devtools, if you haven't already.
install.packages("devtools")

library(devtools)
install_github("michbur/bcv")

Copy Link

Version

Install

install.packages('bcv')

Monthly Downloads

302

Version

1.0.2

License

BSD_3_clause + file LICENSE

Issues

Pull Requests

Stars

Forks

Last Published

May 19th, 2023

Functions in bcv (1.0.2)

impute.svd

Missing value imputation via the SVDImpute algorithm
print.cvsvd

Print the Result of an SVD Cross-Validation
plot.cvsvd

Plot the Result of an SVD Cross-Validation
summary.cvsvd

Summarize the Result of an SVD Cross-Validation
bcv-package

Cross-Validation for the SVD (Bi-Cross-Validation)
cv.svd.gabriel

Cross-Validation for choosing the rank of an SVD approximation.