View source: R/hyperparameters.R
| get_hyperparams_from_df | R Documentation | 
Using get_hyperparams_list is preferred over this function.
get_hyperparams_from_df(hyperparams_df, ml_method)
| hyperparams_df | dataframe of hyperparameters with columns  | 
| ml_method | machine learning method | 
named list of lists of hyperparameters
Begüm Topçuoğlu, topcuoglu.begum@gmail.com
Kelly Sovacool, sovacool@umich.edu
## Not run: 
hparams_df <- dplyr::tibble(
  param = c("alpha", "lambda", "lambda"),
  value = c(1, 0, 1),
  method = rep("glmnet", 3)
)
get_hyperparams_from_df(hparams_df, "glmnet")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.