View source: R/iNMF_data_gen.R
iNMF_data_gen | R Documentation |
Generate the simulated dataset with three modalities as the work iNMF
iNMF_data_gen(Xs_dim_list=list(c(100,100),c(100,100),c(100,100)),
mod_dim_list=list(matrix(c(20,30,20,30,20,30,20,30),4,2),
matrix(c(20,20,30,30,20,30,20,30),4,2),
matrix(c(26,24,26,24,20,30,20,30),4,2)),e_u=0.15, e_s=0.9, e_h=0)
Xs_dim_list |
a list of data matrix dimensions for multiple modality data |
mod_dim_list |
a list of the dimensions of each cluster and their features |
e_u |
the level of uniform noise |
e_s |
signal to noise ratio |
e_h |
block adding probability |
res, a list of length 2, where the first element is a list of simulated data, while the second element is a vector indicating the true label of each sample.
iNMF_data <- iNMF_data_gen(Xs_dim_list=list(c(100,100),c(100,100),c(100,100)),
mod_dim_list=list(matrix(c(20,30,20,30,20,30,20,30),4,2),
matrix(c(20,20,30,30,20,30,20,30),4,2),
matrix(c(26,24,26,24,20,30,20,30),4,2)),e_u=0.15, e_s=0.9, e_h=0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.