Description Usage Arguments Value Examples
This function implements a missing value based CV model selection approach for the pESCA model on mutliple data sets with different data types, such as quantitative and binary. The details can be found in https://arxiv.org/abs/1902.06241.
1 2 | pESCA_CV_twoSteps(dataSets, dataTypes, lambdas_g, lambdas_b,
penalty = "L2", fun_concave = "gdp", opts = list())
|
dataSets |
a list contains multiple matrices with same number of rows.
Each matrix ( |
dataTypes |
a string indicates the data types of the multiple data sets. |
lambdas_g |
a vector cotains a sequence of values of lambda for the loadings related to quantitative data sets |
lambdas_b |
a vector cotains a sequence of values of lambda for the loadings related to binary data sets |
penalty |
The name of the penalty you want to used.
|
fun_concave |
a string indicates the used concave function. Three options are included in the algorithm.
|
opts |
a list contains the options of the algorithms.
|
This function returns a list contains the results of a pESCA mdoel.
opts_opt: selected lambdas;
opts_opt: the initialization of the selected model;
cvErrors_b: the CV errors during the tuning of lambda for loadings related to binary data sets;
cvErrors_g: the CV errors during the tuning of lambda for loadings related to quantitative data sets;
1 2 3 4 5 6 | ## Not run:
result_CV <- pESCA_CV_twoSteps(dataSets, dataTypes,
lambdas_g, lambdas_b,
penalty='L2', fun_concave='gdp', opts=opts)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.