Nothing
r descr_models("ordinal_reg", "vglm")
defaults <- tibble::tibble( parsnip = c("ordinal_link", "odds_link"), default = c("logit", "cumulative") ) param <- ordinal_reg() |> set_engine("ordinalNet") |> set_mode("classification") |> make_parameter_list(defaults)
This model has r nrow(param) tuning parameters:
param$item
r uses_extension("ordinal_reg", "vglm", "classification")
library(ordered) ordinal_reg(ordinal_link = character(0), odds_link = character(0)) %>% set_engine("vglm") %>% set_mode("classification") %>% translate()
#| child: template-makes-dummies.Rmd
#| child: template-uses-case-weights.Rmd
However, the documentation in [VGAM::vglm()] notes that matrix of case weights can be passed so that different classes have different weights. tidymodels assumes vector of a weights; a matrix cannot be passed in.
Also, the engine documentation notes that: "The values of weights must be positive; try setting a very small value such as 1.0e-8 to effectively delete an observation."
#| label: predict-types parsnip:::get_from_env("ordinal_reg_predict") |> dplyr::filter(engine == "vglm") |> dplyr::select(mode, type)
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.