build.elastic.net.regression | R Documentation |
Build elastic net regression
build.elastic.net.regression(
df,
group,
seed = 666,
scale = TRUE,
nfolds = 10,
summaryFunction = "twoClassSummary"
)
seed |
Default 666 |
scale |
Default TRUE |
nfolds |
Default 10. number of folds |
summaryFunction |
Default twoClassSummary for computes sensitivity, specificity and the area under the ROC curve. Please refer https://www.rdocumentation.org/packages/caret/versions/6.0-90/topics/defaultSummary |
data("LIRI")
reg.res <- loonR::build.elastic.net.regression(LIRI[,3:5],LIRI$status)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.