Closed Bendlexane closed 7 months ago
Thanks for the issue! I don't have access to your svm_linear_spec
, svm_poly_spec
, or svm_rbf_spec
objects, and the error seems to indicate that that's where the issue arose from. Can you please provide a minimal reprex (reproducible example)? A reprex will help me troubleshoot and fix your issue more quickly.🙂
Hi!
Thank you for your answer! 😁 The full script can be found here
The lines of code in question are: https://github.com/TADABWorkshop/Course_material/blob/91c02d84c1b59acbcfe0eed49b930e8252acb515/Application%20of%20machine%20learning%20in%20biological%20data%20analysis%20and%20exploration/scripts/Practical%203%20-%20Support%20Vector%20Machines.Rmd#L333-L382
The dataset is from UCI ML Pima Diabetes
Best Regards! 😇
Ah, I see. Note that your svm_grid
contains a grid for 5 different tuning parameters, while each of your _spec
s only have 2 or 3 of those parameters. You will want to only pass the relevant columns in that grid to each specification individually using option_add()
. See the examples in the help-file, specifically the line reading two_class_set %>% option_add(grid = 50, id = "none_cart")
.
Hi!
Thanks a lot for the amazing work and documentation with tidymodels that you and your collegues have been doing!
I'm having some difficulties to use custom grids in workflow sets. How can i provide my own grid in workflowset_map?
This MRE may help
How can I add to the grid my grid? Thank you again
Hope that this can be useful to other users too.
Best wishes