demo_JSparO {JSparO} | R Documentation |
demo_JSparO - The demo of JSparO package
Description
This is the main function of JSparO aimed to solve the low-order regularization models with l_{p,q}
norm.
Usage
demo_JSparO(A, B, X, s, p, q, maxIter = 200)
Arguments
A |
Gene expression data of transcriptome factors (i.e. feature matrix in machine learning). The dimension of A is m * n. |
B |
Gene expression data of target genes (i.e. observation matrix in machine learning). The dimension of B is m * t. |
X |
Gene expression data of Chromatin immunoprecipitation or other matrix (i.e. initial iterative point in machine learning). The dimension of X is n * t. |
s |
joint sparsity level |
p |
value for |
q |
value for |
maxIter |
maximum iteration |
Details
The demo_JSparO function is used to solve joint sparse optimization problem via different algorithms.
Based on l_{p,q}
norm, functions with different p and q are implemented to solve the problem:
\min \|AX-B\|_F^2 + \lambda \|X\|_{p,q}
to obtain s-joint sparse solution.
Value
The solution of proximal gradient method with l_{p,q}
regularizer.
Author(s)
Xinlin Hu thompson-xinlin.hu@connect.polyu.hk
Yaohua Hu mayhhu@szu.edu.cn
Examples
m <- 256; n <- 1024; t <- 5; maxIter0 <- 50
A0 <- matrix(rnorm(m * n), nrow = m, ncol = n)
B0 <- matrix(rnorm(m * t), nrow = m, ncol = t)
X0 <- matrix(0, nrow = n, ncol = t)
res_JSparO <- demo_JSparO(A0, B0, X0, s = 10, p = 2, q = 'half', maxIter = maxIter0)