Bladeren bron

Clarification in diagnostics documentation

Ben Letham 7 jaren geleden
bovenliggende
commit
5bcc1bc094
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      notebooks/diagnostics.ipynb

+ 1 - 1
notebooks/diagnostics.ipynb

@@ -115,7 +115,7 @@
     "\n",
     "This cross validation procedure can be done automatically for a range of historical cutoffs using the `cross_validation` function. We specify the forecast horizon (`horizon`), and then optionally the size of the initial training period (`initial`) and the spacing between cutoff dates (`period`). By default, the initial training period is set to three times the horizon, and cutoffs are made every half a horizon.\n",
     "\n",
-    "The output of `cross_validation` is a dataframe with the true values `y` and the out-of-sample forecast values `yhat`, at each simulated forecast date and for each cutoff date. This dataframe can then be used to compute error measures of `yhat` vs. `y`.\n",
+    "The output of `cross_validation` is a dataframe with the true values `y` and the out-of-sample forecast values `yhat`, at each simulated forecast date and for each cutoff date. In particular, a forecast is made for every observed point between `cutoff` and `cutoff + horizon`. This dataframe can then be used to compute error measures of `yhat` vs. `y`.\n",
     "\n",
     "Here we do cross-validation to assess prediction performance on a horizon of 365 days, starting with 730 days of training data in the first cutoff and then making predictions every 180 days. On this 8 year time series, this corresponds to 11 total forecasts."
    ]