Open
Conversation
Member
Author
|
This might wait to merge until dev parsnip, yardstick, tune, and finetune are on CRAN |
topepo
commented
Feb 18, 2026
| add_recipe(ames_rec) |> | ||
| add_model(linear_reg() |> set_engine("lm")) | ||
|
|
||
| if (is_new_version(rf_res, "RData/resampling.RData") | |
Member
Author
There was a problem hiding this comment.
This function was getting C stack errors so now we'll just test to see if a previous entry has been added to RData.
topepo
commented
Feb 18, 2026
| ## Parallel Processing {#parallel} | ||
|
|
||
| The models created during resampling are independent of one another. Computations of this kind are sometimes called *embarrassingly parallel*; each model could be fit simultaneously without issues.^[@parallel gives a technical overview of these technologies.] The `r pkg(tune)` package uses the [`r pkg(foreach)`](https://CRAN.R-project.org/package=foreach) package to facilitate parallel computations. These computations could be split across processors on the same computer or across different computers, depending on the chosen technology. | ||
| The models created during resampling are independent of one another. Computations of this kind are sometimes called *embarrassingly parallel*; each model could be fit simultaneously without issues.^[@parallel gives a technical overview of these technologies.] The `r pkg(tune)` package can use the [`r pkg(future)`](https://CRAN.R-project.org/package=future) or [`r pkg(mirai)`](https://CRAN.R-project.org/package=mirai) packages to facilitate parallel computations. These computations could be split across processors on the same computer or across different computers, depending on the chosen technology. |
Member
Author
There was a problem hiding this comment.
These parts are the majority of the change unrelated to the pipe.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A first set of changes related to the new version of tune and the substitution of the base pipe.
Another PR is coming with more content changes for the new versions.