Description Usage Arguments Value Author(s) See Also Examples
Do dummy coding on dataset and fit logistic (crossvalidated) glmnet
1 2 3 4 5 | fit.lognet(ds, out, lambda,
weights = (rep(1, dim(ds)[1])), verbosity = 0,
standardize = FALSE, type.measure = NULL,
imputeDs2FitDsProperties = normalImputationConversion(),
...)
|
ds |
dataset ( |
out |
outcome vector |
lambda |
(single) lambda to use |
weights |
weight vector per observation (does not have to sum to 1, and defaults to equal weights) |
verbosity |
The higher this value, the more levels of progress and debug information is displayed (note: in R for Windows, turn off buffered output) |
standardize |
if |
type.measure |
one of the crossvalidating measures
provided by |
imputeDs2FitDsProperties |
see
|
... |
passed on to |
depending on type.measure
being NULL
, a
glmnet
or cv.glmnet
object.
Nick Sabbe nick.sabbe@ugent.be
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.