View source: R/FeatureSelection.R
lasso.select.feature | R Documentation |
Feature selection by lasso
lasso.select.feature(
data.matrix,
label,
folds = 5,
seed = 666,
family = "binomial",
type.measure = "auc",
s = NULL,
scale = TRUE
)
data.matrix |
Row is sample |
family |
Default binomial. Should be one of “gaussian”, “binomial”, “poisson”, “multinomial”, “cox”, “mgaussian” |
type.measure |
Default auc. Can be class, auc, deviance, mae. “deviance” uses actual deviance. “mae” uses mean absolute error. “class” gives misclassification error. “auc” (for two-class logistic regression ONLY) gives area under the ROC curve. |
s |
Defalut is lambda.min. User can specify |
scale |
Default TRUE |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.