Code
svm_poly(mode = "regression", degree = 2) %>% set_engine("kernlab", cross = 10) %>%
update(degree = tune(), cross = tune())
Output
Polynomial Support Vector Machine Model Specification (regression)
Main Arguments:
degree = tune()
Engine-Specific Arguments:
cross = tune()
Computational engine: kernlab
Code
svm_poly(mode = "reallyunknown")
Condition
Error in `svm_poly()`:
! "reallyunknown" is not a known mode for model `svm_poly()`.
Code
svm_poly() %>% set_engine(NULL) %>% translate()
Condition
Error in `set_engine()`:
! Missing engine. Possible mode/engine combinations are: classification {kernlab} and regression {kernlab}.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.