| .estimateR | R Documentation |
Estimate optimized regulation parameters lambda1 and lambda2.
.estimateR(
loginFD,
logins,
funcPreProc,
querytables,
chunk = 500L,
mc.cores = 1,
nfold = 5,
grid1 = seq(0.001, 1, length = 5),
grid2 = seq(0.001, 1, length = 5)
)
loginFD |
Login information of the FD server (one of the servers containing cohort data). |
logins |
Login information of servers containing cohort data. |
funcPreProc |
Definition of a function for preparation of raw data matrices. Two arguments are required: conns (list of Opal connections), symbol (name of the R symbol) (see datashield.assign). |
querytables |
Name (or a vector of two names) of the R symbol(s) to
assign in the Datashield R session on each server in |
chunk |
Size of chunks into what the resulting matrix is partitioned. Default, 500L. |
mc.cores |
Number of cores for parallel computing. Default, 1. |
nfold |
n-fold cross-validation. Default, 5. |
grid1 |
Tuning values for |
grid2 |
Tuning values for |
Optimal values of lambda1 and lambda2.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.