lasso_obj {tramnet} | R Documentation |
Lasso objective function for model based optimization
Description
This function generates an objective function for model-based optimization
based on the cross-validated log-likelihood of a tramnet
model with
a lasso penalty only. It is not intended to be called by the user directly,
instead it will be given as an argument to mbo_tramnet
.
Usage
lasso_obj(object, minlambda = 0, maxlambda = 16, folds,
noisy = FALSE, fold)
Arguments
object |
object of class |
minlambda |
minimum value for lambda (default: |
maxlambda |
maximum value for lambda (default: |
folds |
self specified folds for cross validation (mainly for reproducibility and comparability purposes) |
noisy |
indicates whether folds for k-fold cross-validation should
be random for each iteration, leading to a noisy objective function
(default: |
fold |
fold for cross validation |
Value
Single objective function for model based optimization.
[Package tramnet version 0.0-8 Index]