View source: R/crimmix_data_gen.R
crimmix_data_gen | R Documentation |
Generate the simulated dataset with three modalities with the package crimmix
crimmix_data_gen(nclust=4, n_byClust=c(10,20,5,25),
feature_nums=c(1000,500,5000), noises=c(0.5,0.01,0.3),props=c(0.005,0.01,0.02))
nclust |
number of clusters |
n_byClust |
number of samples per cluster |
feature_nums |
number of features in each modality |
noises |
percentage of noise adding to each modality |
props |
proportion of cluster related features in each modality |
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
crimmix_data <- crimmix_data_gen(nclust=4, n_byClust=c(10,20,5,25),
feature_nums=c(1000,500,5000), noises=c(0.5,0.01,0.3),props=c(0.005,0.01,0.02))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.