Nothing
## ----setup---------------------------------------------------------------
library(SAMGEP)
library(pROC)
## ------------------------------------------------------------------------
samgep_result <- with(
simdata, samgep(dat_train=trainSet, dat_test=testSet, Cindices=6:160, lambda=0.05, r=0.25,
alpha=0.5, V=embeddings, observed=unique(trainSet$ID)[1:50], nCores=1))
## ---- message=FALSE------------------------------------------------------
samgep_auc <- pROC::auc(simdata$testSet$Y, samgep_result$margMix)
print(paste('AUC:',round(samgep_auc,digits=3)))
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.