Learn R Programming

rtemis (version 1.4.3)

.list_to_Hyperparameters: Convert a list to a Hyperparameters object

Description

Internal function used by rtemis.server to reconstruct a Hyperparameters object from a wire-format list. Not intended for direct use by end users.

Usage

.list_to_Hyperparameters(x)

Value

A Hyperparameters object as returned by setup_<algorithm>().

Arguments

x

Named list: algorithm (Character: algorithm name, e.g. "GLM", "Ranger") plus, as its siblings, the hyperparameter name-value pairs passed to the corresponding setup_<algorithm>() function. A list holding only algorithm is that algorithm with every default.

Author

EDG

Examples

Run this code
.list_to_Hyperparameters(list(algorithm = "GLMNET", alpha = 1))

Run the code above in your browser using DataLab