Fixed periodicity #2062
Answered
by
Balandat
adamjstewart
asked this question in
Q&A
Fixed periodicity
#2062
-
I'm working with weather data, which I know will exhibit approximately sinusoidal trends with a periodicity of exactly 24 hours and 365 days. I would like to fix the periodicity of ExpSineSquared(periodicity=24, periodicity_bounds="fixed") Is it possible to do this in GPyTorch? I tried: PeriodicKernel(period_length_constraint=Interval(24, 24, initial_value=24)) but it seems like this isn't allowed:
|
Beta Was this translation helpful? Give feedback.
Answered by
Balandat
Jul 12, 2022
Replies: 1 comment 2 replies
-
You could just implement a new kernel that uses the
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
adamjstewart
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You could just implement a new kernel that uses the
forward
logic fromPeriodicKernel
but gets rid of the period as a learnable parameter: