You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I strongly recommend you move away from for loops and toward functions here
This is where the Makefile or Snakemake will come in handy. Like, you're doing many different jobs:
For each combination of forecast date and model, do the forecast
For each model and score function (and forecast horizon?), score the model using the forecasts from the previous step
Report these out in a table?
Make some figures?
So rather than saying "what do I need to do for each date?" and putting that into a for loop, instead say "what are the different jobs I need to do?" and write a function for each one.
There will be looping logic somewhere, but it might be in the Makefile or snakefile
This is where the Makefile or Snakemake will come in handy. Like, you're doing many different jobs:
So rather than saying "what do I need to do for each date?" and putting that into a for loop, instead say "what are the different jobs I need to do?" and write a function for each one.
There will be looping logic somewhere, but it might be in the Makefile or snakefile
Originally posted by @swo in #82 (comment)
The text was updated successfully, but these errors were encountered: