I'm trying to generate a 3D distribution, where x, y
represents the surface plane, and z
is the magnitude of some value, distributed over a range.
I'm looking at numpy's multivariate_normal, but it only lets me get a number of samples. I'd like the ability to specify some x, y
coordinate, and get back what the z
value should be; so I'd be able to query gp(x, y)
and get back a z
value that adheres to some mean and covariance.
Perhaps a more illustrative (toy) example: assume I have some temperature distribution that can be modeled as a gaussian process. So I might have a mean temperature of 20 at (0, 0)
, and some covariance [[1, 0], [0, 1]]
. I'd like to be able to create a model that I can then query at different x, y
locations to get the temperature at that position (so, at (5, 5)
I might get back something like 7 degrees).
How to best accomplish this?