choose_rho {INDEED}R Documentation

Draw error curve

Description

Draw error curve using cross-validation.

Usage

choose_rho(data, n_fold, rho)

Arguments

data

a matrix.

n_fold

specify n to n-fold cross_validation.

rho

multiple regularization parameter values to be evalueated in terms of errors.

Value

a list of errors and their corresponding log(rho)


[Package INDEED version 1.0.1 Index]