Skip to content

Commit 3aad6b8

Browse files
nmdefriesdsweber2
authored andcommitted
backtesting.rmd comment fixes
1 parent 4df2535 commit 3aad6b8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

vignettes/backtesting.Rmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,8 @@ forecast_wrapper <- function(
261261
}
262262
```
263263

264-
Note that in the helper function, we're using the parameter `adjust_latency`.
265-
We need to use it because the most recently released data may still be several days old on any given forecast date;
264+
_Note:_ In the helper function, we're using the parameter `adjust_latency`.
265+
We need to use it because the most recently released data may still be several days old on any given forecast date (lag > 0);
266266
`adjust_latency` will modify the forecaster to compensate[^5].
267267
See the function `step_adjust_latency()` for more details and examples.
268268

@@ -302,7 +302,7 @@ forecasts <-
302302

303303
`arx_forecaster()` does all the heavy lifting.
304304
It creates and lags copies of the features (here, the response and doctors visits),
305-
creates and leads copies of the target (respecting time stamps and locations), fits a
305+
creates and leads copies of the target while respecting timestamps and locations, fits a
306306
forecasting model using the specified engine, creates predictions, and
307307
creates non-parametric confidence bands.
308308

0 commit comments

Comments
 (0)