Finding the posterior covariance matrix from MATLAB GPR model

3 ビュー (過去 30 日間)
Suhit K
Suhit K 2018 年 3 月 16 日
編集済み: Sterling Baird 2021 年 1 月 6 日
I am trying to find the posterior covariance matrix from a gaussian process using MatLab. The GP model is formed as follows:
X = featurevector;
Y = label;
GPMdl = fitrgp(X,Y);
and predicting the mean and variance of test points is as follows:
Xnew = newfeaturevectors;
[PredU,PredS] = predict(Xnew,GPMdl)
PredS only gives me the variance vector of the test points. I want to find the covariance matrix of the test points. Any thoughts on how this can be computed?

回答 (0 件)

カテゴリ

Help Center および File ExchangeGaussian Process Regression についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by