@@ -227,7 +227,7 @@ The post-processing `frosting` layers[^1] found in `four_week_ahead` look like:
227
227
epipredict::extract_frosting(four_week_ahead$epi_workflow)
228
228
```
229
229
230
- Note : since ` frosting ` is unique to this package, we've defined a custom function ` extract_frosting() ` to inspect these steps.
230
+ _ Note _ : since ` frosting ` is unique to this package, we've defined a custom function ` extract_frosting() ` to inspect these steps.
231
231
232
232
Using the detailed information in the output above,
233
233
we can recreate the layers similar to how we defined the
@@ -245,10 +245,10 @@ four_week_layers <- frosting() |>
245
245
` layer_predict() ` needs to be included in every postprocessor to actually train the model.
246
246
247
247
Most layers work with any engine or ` step ` s.
248
- There are a couple of layers, however, which depend on whether the engine predicts quantiles or point estimates.
248
+ There are a couple of layers, however, that depend on whether the engine predicts quantiles or point estimates.
249
249
250
- The layers that are only supported by point estimate engines ( such as
251
- ` linear_reg() ` ) are :
250
+ The following layers are only supported by point estimate engines, such as
251
+ ` linear_reg() ` :
252
252
253
253
- ` layer_residual_quantiles() ` : the preferred method of generating quantiles for
254
254
models that don't generate quantiles themselves.
@@ -260,14 +260,14 @@ The layers that are only supported by point estimate engines (such as
260
260
261
261
<!-- TODO check this -->
262
262
263
- On the other hand, the layers that are only supported by quantile estimating
264
- engines ( such as ` quantile_reg() ` ) are
263
+ On the other hand, the following layers are only supported by engines that
264
+ output quantiles, such as ` quantile_reg() ` :
265
265
266
266
- ` layer_quantile_distn() ` : adds the specified quantiles.
267
- If the quantile levels specified differ from the ones actually fit, they will be interpolated and/or
267
+ If the user-requested quantile levels differ from the ones actually fit, they will be interpolated and/or
268
268
extrapolated.
269
- - ` layer_point_from_distn() ` : this adds the median quantile as a point estimate,
270
- and, if called , should be included after ` layer_quantile_distn() ` .
269
+ - ` layer_point_from_distn() ` : this adds the middle quantile (median) as a point estimate,
270
+ and, if used , should be included after ` layer_quantile_distn() ` .
271
271
272
272
## Fitting an ` epi_workflow() `
273
273
0 commit comments