Nothing
#| child: aaa.Rmd #| include: false
r descr_models("mlp", "keras")
#| label: keras-param-info #| echo: false defaults <- tibble::tibble(parsnip = c("hidden_units", "penalty", "dropout", "epochs", "activation"), default = c("5L", "0.0", "0.0", "20L", "'softmax'")) param <- mlp() |> set_engine("keras") |> make_parameter_list(defaults)
This model has r nrow(param)
tuning parameters:
#| label: keras-param-list #| echo: false #| results: asis param$item
#| label: keras-reg mlp( hidden_units = integer(1), penalty = double(1), dropout = double(1), epochs = integer(1), activation = character(1) ) |> set_engine("keras") |> set_mode("regression") |> translate()
#| label: keras-cls mlp( hidden_units = integer(1), penalty = double(1), dropout = double(1), epochs = integer(1), activation = character(1) ) |> set_engine("keras") |> set_mode("classification") |> translate()
#| child: template-makes-dummies.Rmd
#| child: template-same-scale.Rmd
#| child: template-no-case-weights.Rmd
#| child: template-bundle.Rmd
The "Fitting and Predicting with parsnip" article contains examples for mlp()
with the "keras"
engine.
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.