You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
library(tidymodels)
# custom model info:
set_new_model("discrim_mixture")
set_model_mode(model="discrim_mixture", mode="classification")
set_model_engine(
"discrim_mixture",
mode="classification",
eng="mda"
)
set_dependency("discrim_mixture", eng="mda", pkg="mda")
show_model_info("discrim_mixture")
#> Information for `discrim_mixture`#> modes: unknown, classification #> #> engines: #> classification: mdaNA#> #> ¹The model can use case weights.#> #> no registered arguments.#> #> no registered fit modules.#> #> no registered prediction modules.
show_model_info("linear_reg")
#> Information for `linear_reg`#> modes: unknown, regression #> #> engines: #> regression: brulee, glm¹, glmnet¹, keras, lm¹, spark¹, stan¹#> #> ¹The model can use case weights.#> #> [truncated output for clarity]
"¹The model can use case weights." means that only engines with the superscripted 1 can use case weights. In cases where some engines can support case weights, the notation is clear, but when there's no case weight support for any engine (and thus no superscripted 1 previouslt), that footnote seems like it's saying that every engine used with the model can use case weights. We ought to fix that—I'll open up a separate issue.
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.
From #996:
Created on 2023-09-14 with reprex v2.0.2
"¹The model can use case weights." means that only engines with the superscripted 1 can use case weights. In cases where some engines can support case weights, the notation is clear, but when there's no case weight support for any engine (and thus no superscripted 1 previouslt), that footnote seems like it's saying that every engine used with the model can use case weights. We ought to fix that—I'll open up a separate issue.
Originally posted by @simonpcouch in #996 (comment)
The text was updated successfully, but these errors were encountered: