-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to set points_per_unit #5
Comments
Hey Alex! Our recommendation is to determine the "smallest wiggle" in your data that you want to model, If your time series is equally spaced, you might want to consider the on-the-grid version of the model.
I'm not sure if it is possible to make Please let us know if you manage to get things to work. :) |
Hi Thanks, |
Hey Alex, I’m currently on holidays and don’t have access to a laptop. If you wouldn’t mind, I might get back to this issue when I’m back to work. :) |
Hey Alex, I've just returned from holidays. I'm not sure how familiar you are with the method and the terminology, but let me have an attempt at explaining what is going on. In a time series problem, the ConvCNP provides a mechanism to take in a some data points and make predictions at other inputs. The data points that are taken in are called the context set and the points that we're predicting at are called the target set. Even though in a time series problem the domain can be arbitrarily large, for a fixed target and context set, the time range spanned is finite. Internally in the ConvCNP, the model computes the most extremal inputs of the context and target points, thus computing the domain that this particular data spans, and then computes a discretisation at a specified density (the points per unit) spanning this domain. This discretisation is recomputed for every combination of context and target set. The resolution of this discretisation, which is controlled by points per unit, determines the how quickly the predictions of the ConvCNP can wiggle.
|
Hi,
I'm trying to figure out how to set the points_per_unit parameter. In my case, the original time span of time series is 18 years and the frequency is 5 days. I first scaled the whole time span to [-2, 2] to be compatible with the example ConvCNP implementation. This means each unit corresponds to 18/4 years. So points_per_unit should be (365 days / 5 day)*18/4 = 328.5. Is this right? Is it possible to make this integral scale learnable?
Thanks,
Alex
The text was updated successfully, but these errors were encountered: