Covariance estimate using fitrgp
조회 수: 1 (최근 30일)
이전 댓글 표시
I understand that it's possible to obtain a 95% confidence interval using [ypred1,~,yint1] = predict(gprMdl1,x); but is it possible to directly obtain an estimate of covariance/uncertainty statistics over the evaluation points?
댓글 수: 0
답변 (1개)
Ayush Anand
2023년 9월 13일
Hi George,
I understand you want to know if there is a way of directly obtaining an estimate of covariance over the evaluation points. Unfortunately, there is no function in MATLAB which computes this directly; you can use the predicted mean and the actual value at the evaluation points to compute the covariance/uncertainty according to the standard formula for computing variance.
I hope this helps!
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!