Description Usage Arguments Value
View source: R/FastLORS_Functions.R
Fast_LORS_Tuning
is a function used perform parameter tuning using FastLORS instead of LORS
1 2 3 | Fast_LORS_Tuning(Y, X, rho, lambda, Training, Validation, maxiter = 5000,
eps = 2.2204e-16, tol = 1e-04, B = NULL, mu = NULL, L = NULL,
omega_SOR = 1.999)
|
Y |
gene expression matrix |
X |
matrix of SNPs |
rho |
parameter used to enforce sparsity of B |
lambda |
parameter used to enforce low-rank structure of L |
Training |
Boolean matrix for training data |
Validation |
Boolean matrix for validation data |
maxiter |
maximum number of iterates |
eps |
a small constant to prevent dividing by zero when checking relative change in function values. |
tol |
tolerance threshold for convergence |
B |
an estimate for matrix of coefficients. Default is NULL. |
mu |
an estimate for the intercept. Default is NULL. |
L |
an estimate for the hidden factors Default is NULL. |
omega_SOR |
the value of omega to use if applying successive over-relaxation with FastLORS. |
B |
matrix of coefficients |
L |
matrix of hidden factors |
mu |
vector of intercepts |
Err |
Residual sum of squares of validation data |
f_vals |
Objective function values |
res_vec |
Relative change in objective function values |
iter |
Number of iterations |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.