Skip to content

Commit

Permalink
reduce installed package size
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpcouch committed Nov 13, 2020
1 parent aef676b commit cafc707
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 14 deletions.
6 changes: 1 addition & 5 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,7 @@ These stacking coefficients determine which candidate ensemble members will beco

This model stack object, outputted from `fit_members()`, is ready to predict on new data! The trained ensemble members are often referred to as _base models_ in the stacking literature.

At a high level, the process follows these steps:

![](man/figures/outline.png)

The API for the package closely mirrors these ideas. See the `basics` vignette for an example of how this grammar is implemented!
The full visual outline for these steps can be found [here](https://github.com/tidymodels/stacks/blob/main/inst/figs/outline.png). The API for the package closely mirrors these ideas. See the `basics` vignette for an example of how this grammar is implemented!

## contributing

Expand Down
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,8 @@ This model stack object, outputted from `fit_members()`, is ready to
predict on new data\! The trained ensemble members are often referred to
as *base models* in the stacking literature.

At a high level, the process follows these steps:

![](man/figures/outline.png)

The full visual outline for these steps can be found
[here](https://github.com/tidymodels/stacks/blob/main/inst/figs/outline.png).
The API for the package closely mirrors these ideas. See the `basics`
vignette for an example of how this grammar is implemented\!

Expand Down
File renamed without changes
Binary file modified man/figures/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 1 addition & 5 deletions vignettes/basics.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -391,9 +391,5 @@ map_dfr(member_preds, rmse, truth = latency, data = member_preds) %>%

As we can see, the stacked ensemble outperforms each of the member models, though is closely followed by one of its members.

Voila! You've now made use of the stacks package to predict red-eyed tree frog embryo hatching using a stacked ensemble! Altogether, the process looks something like this:

```{r, echo = FALSE}
knitr::include_graphics("https://raw.githubusercontent.com/tidymodels/stacks/main/man/figures/outline.png")
```
Voila! You've now made use of the stacks package to predict red-eyed tree frog embryo hatching using a stacked ensemble! The full visual outline for these steps can be found [here](https://github.com/tidymodels/stacks/blob/main/inst/figs/outline.png).

0 comments on commit cafc707

Please sign in to comment.