cv_covariance_matrices_block_descent: Projected covariance matrices for BD-CoCoLasso

Description Usage Arguments Value

View source: R/cv_covariance_matrices_block_descent.R

Description

Creating projected nearest positive semi-definite covariance matrices for the cross validation step of the BD-CoCoLasso algorithm. In that case, the design matrix must be organized as follozs : uncorrupted features must be the first block of the matrix, and corrupted features must be the second block of the matrix.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
cv_covariance_matrices_block_descent(
  K,
  mat,
  y,
  p,
  p1,
  p2,
  mu,
  tau = NULL,
  ratio_matrix = NULL,
  etol = 1e-04,
  noise = c("additive", "missing"),
  mode = "ADMM"
)

Arguments

K

Number of folds for the cross validation

mat

Covariance matrix to be projected

y

Response vector

p

Number of predictors

p1

Number of uncorrupted predictors

p2

Number of corrupted predictors

mu

Penalty parameter for the ADMM algorithm.

tau

Standard error of the additive error matrix when the chosen setting is the additive error setting

ratio_matrix

Observation matrix used in the missing data setting

etol

Tolerance used in the ADMM algorithm

noise

Type of setting chosen : additive or missing

mode

ADMM or HM

Value

list containing


celiaescribe/BDcocolasso documentation built on Feb. 11, 2020, 11:41 p.m.