mbo_tramnet | R Documentation |
Uses model based optimization to find the optimal tuning
parameter(s) in a regularized transformation model based on
cross-validated log-likelihoods. Here the 'tramnet'
package makes
use of the 'mlr3mbo'
interface for Bayesian Optimization in
machine learning problems to maximize the cv-logLik as a black-box
function of the tuning parameters alpha and lambda.
mbo_tramnet(
object,
fold = 2,
n_iter = 5,
minlambda = 0,
maxlambda = 16,
minalpha = 0,
maxalpha = 1,
folds = NULL,
noisy = FALSE,
obj_type = c("lasso", "ridge", "elnet"),
verbose = TRUE,
...
)
object |
Object of class |
fold |
Number of cross validation folds. |
n_iter |
Maximum number of iterations in model-based optimization routine. |
minlambda |
Minimum value for lambda (default |
maxlambda |
Maximum value for lambda (default |
minalpha |
Minimum value for alpha (default |
maxalpha |
Maximum value for alpha (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 |
obj_type |
Objective type, one of |
verbose |
Toggle for a verbose output (default |
... |
Currently ignored. |
See Optimizer
's optimize
function which
returns a data.table::data.table
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.