frankiethull / maize

tidymodels extension package; binding specialty kernels & support vector machines to {parsnip} and {recipes}
Other
8 stars 1 forks source link

include maize as a dependency #2

Closed topepo closed 3 months ago

topepo commented 3 months ago

One weird thing with parallel processing is that some techniques don't automatically attach packages. To deal with this we have to add maize as a dependency when defining the models. For each model, we can add a second line:

  parsnip::set_dependency("svm_anova_rbf", "kernlab", "kernlab")
  parsnip::set_dependency("svm_anova_rbf", "kernlab", "maize")

I'll add a PR for this.