Nothing
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, hardsigmoid, linear, relu, selu, sigmoid, softmax, softplus, softsign, swish, and tanh, not "invalid".
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.