tidyverts / fabletools

General fable features useful for extension packages
http://fabletools.tidyverts.org/
89 stars 31 forks source link

Restructure generate() for performance #210

Closed mitchelloharawild closed 4 years ago

mitchelloharawild commented 4 years ago

Model methods should return a vector of simulations, and be applied to a single replication at a time.

mitchelloharawild commented 4 years ago

Some testing suggests this may not actually be faster.

mitchelloharawild commented 4 years ago

It may be reasonable for forecast.mdl_ts() to handle the call to generate() for bootstrap forecasts.