Code
res <- parsnip::fit(hpc_keras, class ~ novar, data = hpc, control = ctrl)
Condition
Error:
! object 'novar' not found
Code
mlp(mode = "classification", hidden_units = 2, penalty = 0.01, epochs = 2,
activation = "invalid") %>% set_engine("keras", verbose = 0) %>% parsnip::fit(
Class ~ A + B, data = modeldata::two_class_dat)
Condition
Error in `parsnip::keras_mlp()`:
! `activation` should be one of: elu, exponential, gelu, hard_sigmoid, linear, relu, selu, sigmoid, softmax, softplus, softsign, swish, and tanh, not "invalid".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.