Open RJT1990 opened 8 years ago
For this task the main bottleneck to optimize are the recursions within _model(). For each model:
ARIMA - the ma recursion GARCH - the entire recursion GAS - the entire recursion GAS Regression - the entire recursion GP-NARX - no recursions here Gaussian state space - the kalman filter/smoother recursions Non-Gaussian state space - should be fine VAR - the covariance matrix construction
BBVI - the outer for loop MH - the outer for loop
https://github.com/jakevdp/cython_template might be useful
That's really useful - seems like the right way to go to ensure Cython isn't mandatory for users. Can't wait to get stuck into this once I've got the other stuff out of the way.
Tried that template out tonight - works a treat. Will have first Cythonized version this weekend!
Cool. Glad it worked.
On 19 Jul 2016 9:55 PM, "Ross Taylor" notifications@github.com wrote:
Tried that template out tonight - works a treat. Will have first Cythonized version this weekend!
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/RJT1990/pyflux/issues/5#issuecomment-233762696, or mute the thread https://github.com/notifications/unsubscribe-auth/AA8DiLVY2xLSmn8GbKTcDc9tNZt9p_PFks5qXTmygaJpZM4I3I-b .
Update after recent release:
Update: GAS and GASReg models to undergo further Cythonization this weekend.
GAS models Cythonized further - will be in next release; speedups of 1.5-2x.
Now that a core model set is available, it is time to look to optimize the code to allow for quicker estimation and scalability to larger datasets.
Model
Inference