-
Notifications
You must be signed in to change notification settings - Fork 563
Question regarding heteroskedastic noise #653
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
Comments
One way to accomplish this might be to use a FixedNoiseGaussianLikelihood: gpytorch/gpytorch/likelihoods/gaussian_likelihood.py Lines 102 to 110 in 5b0425f
In the last line of this example, a supplied vector of noises are added to the test predictions. This won't affect the point predictions at all, because it effectively amounts to inflating the variance of the test points, while the test means remain unchanged. Is this roughly what you are looking for, or am I misunderstanding something? |
oh this is perfect! I didn't realize that FixedNoiseGaussianLikelihood allows for different noises for different test points. As always, thanks for the help Jacob |
No problem! |
@jacobrgardner, @Balandat, I wonder if the name |
sounds reasonable to me, I'll let @jacobrgardner decide if he wants to make that change. |
Hey GPyTorch team,
Hope you are all getting a lot out of GPyTorch - I know I certainly am!
My question regards kernel design: I'm hoping to increase the variance of a few test data points without changing my point predictions for those points too much. From looking through the available kernels, I can't see any obvious way to make this behavior happen.
I'll provide my best guess. Let's say I have some kernel defined and I'd like to change it to have this behavior. I could apply a multiplication by a linear kernel that resolves to 1 whenever the data points isn't one of those special test points. Otherwise, it's some large number (maybe 2). So far I haven't had much luck with this, but I think I could just be screwing up the optimization. This also does impact the point prediction, but that might be unavoidable. I'm hoping that the variance parameter on the linear kernel gives me my increase in the prediction interval around this test point.
Do you think I'm on the right path? Do you have recommendations?
Any words are appreciated,
DJ
The text was updated successfully, but these errors were encountered: