Commit | Line | Data |
---|---|---|
228ee602 | 1 | m=11 |
2 | p=10 | |
3 | ||
4 | covY = array(0,dim = c(m,m,2)) | |
5 | covY[,,1] = diag(m) | |
6 | covY[,,2] = diag(m) | |
7 | ||
8 | Beta = array(0, dim = c(p, m, 2)) | |
9 | Beta[1:4,1:4,1] = 3*diag(4) | |
10 | Beta[1:4,1:4,2] = -2*diag(4) | |
11 | ||
465c0e07 | 12 | #Data = generateXY(100, c(0.5,0.5), rep(0,p), Beta, diag(p), covY) |
57a8adeb | 13 | |
465c0e07 | 14 | #Res = valse(Data$X,Data$Y, fast=FALSE, plot=FALSE, verbose = TRUE, kmax=2, compute_grid_lambda = FALSE, |
15 | # grid_lambda = seq(0.2,2,length = 50), size_coll_mod = 50) |