-
Notifications
You must be signed in to change notification settings - Fork 32
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
Use log-space representation for positive arguments #20
Comments
GaussianProcesses.jl uses log-space: |
And you also did something similar in |
Honestly, I'm not a good person to get feedback from for this issue. My use of the kernel methods didn't require any kind of automatic differentiation so I only needed the kernels to be a container for some scalar parameters. For me, all I really cared about was having something simple so I could do this: ExponentialKernel().α I did play around with the However, I backtracked when this issue was opened: In the case of |
My feeling on this is that it doesn't belong in this package, it belongs in downstream code e.g. GaussianProcesses.jl / AugmentedGPs.jl / Stheno.jl etc. The transformation isn't unique, so to my mind baking in |
I agree with @willtebbutt, it's probably better for downstream packages to work out how they want to represent parameters rather than to enforce it here. |
Also agreed, and I already did it for my case but my concern was : if a user updates make the values negative, there is no direct check on this at evaluation time. If we leave it like this we should at least warn about it, in the documentation for example. |
Problem deferred to #127 |
Should the positive parameters (for example in
ScaleTransform
andARDTransform
) be already defined in log-space to avoid problems? This is probably safer but might confuse the usersThe text was updated successfully, but these errors were encountered: