Seasonality in time varying media coefficients #1727
Unanswered
tobia-cassandra
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello all!
I was digging a little bit deeper inside the time_varying_media functionality lately and I was thinking about changing the covariance kernel to one that accounts for seasonal patterns (like the Periodic one) and combining it with the default Matern52, so I wrote this very simple code to test it out:
Here, PyMCModel is just a wrapper that I built, but the fit method is absolutely the same.
Basically, the fit works fine but then, after it, I got a PydanticSerializationError and I basically discovered that we can only use kernels included in the enum CovFunc.
What I would like to ask is: is there a way to bypass this behavior and use a custom kernel for TVP?
Thank you all!
Beta Was this translation helpful? Give feedback.
All reactions