r descr_models("multinom_reg", "nnet")
defaults <- tibble::tibble(parsnip = c("penalty"), default = c("0.0")) param <- multinom_reg() %>% set_engine("nnet") %>% make_parameter_list(defaults)
This model has r nrow(param)
tuning parameters:
param$item
For penalty
, the amount of regularization includes only the L2 penalty (i.e., ridge or weight decay).
multinom_reg(penalty = double(1)) %>% set_engine("nnet") %>% translate()
The "Fitting and Predicting with parsnip" article contains examples for multinom_reg()
with the "nnet"
engine.
Luraschi, J, K Kuo, and E Ruiz. 2019. Mastering nnet with R. O'Reilly Media
Hastie, T, R Tibshirani, and M Wainwright. 2015. Statistical Learning with Sparsity. CRC Press.
Kuhn, M, and K Johnson. 2013. Applied Predictive Modeling. Springer.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.