how to calculate kernel covariance function in Gaussian Process Regression?

9 views (last 30 days)
I have data X(x1,x2,x3) which is 24445x3 and y is also 24445 x 1.
the result is 24445 x 24445. is this size right?
and with this data, I want to plot like this image.
but when i plot with this data(24445x 24445), the error occured saying that out of memory
kfcn = regressionGP.Impl.Kernel.makeKernelAsFunctionOfXNXM(regressionGP.Impl.ThetaHat)
k= kfcn(x1(:,:),x1(:,:));
hm = heatmap(k);
plot(hm)
thanks.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by