Description Usage Arguments Value Examples
This function is a helper function to print the hyperparameters and error appropriately in a simple call. The first element refers to the name, the second is for the value, the third for the number of digits, and the fourth for the number of decimals. Specify the last parameter as -1
in order to pass the value as integer.
1 | print_multi(params)
|
params |
Type: list of vectors. A list of vectors formatted like |
The formatted double precision value.
1 2 | best_params <- list(c("alpha", 1.248, 2, 5), c("beta", 2.58, 2, 5), c("integer", 8, 2, -1))
print_multi(best_params) # "alpha=01.24800, beta=02.58000, integer=08"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.