-
Notifications
You must be signed in to change notification settings - Fork 10
Implement function to grab the most recent data, sufficient for prediction #26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
new file, new function. get_target()/ get_test_data() example: look at epipredict/musings/example-recipe.R Line 39 in e8cfd8e
b <- bake(prep(r)) |
Logan suggested taking a look at the following that included this operation: cmu-delphi/covidcast/R-packages/modeltools create_train_and_predict_matrices() although it had issues when dealing with data with nonzero reporting latency |
TO-DO: Add unit tests for this new function before creating a PR |
Removed export of epi_shift and improved test names
For example, if we have
max_lag = 14
, then we would do something like:The function should read the
epi_recipe
, perhaps afterprep()
orbake()
.The text was updated successfully, but these errors were encountered: