fitgpr gaussian regression parameters

9 次查看(过去 30 天)
Hello guys,
I am using Gaussian Process Regression 'fitgpr' to fit a model to my data (~ 17,500 x 3 input, 17,500 x1 output), it works perfect (very low loss value).
I want to compare with the polynomial fitting, I have the number of coefficients in polynomials but how to get them in fitgpr?
I believe the 'coefficients' in Gaussian are the mean & variance (right?) how to get them?
(Any help is appreciated, I am a bit confused, thank you)
Regards,
Sara

采纳的回答

Thiago Henrique Gomes Lobato
A Gaussian Process Regression is a non-parametric model, which means it heavily depends of the training data you use. This means that, in this case, every training point will have a coefficient of it's own for the covariance/kernel function, which makes a comparison between Gaussian Process coefficients and Polynomial Coefficients impractical. For a better understanding of the method I would strongely suggest the following online book http://www.gaussianprocess.org/gpml/, specially the chapter 2 which focus on regression.
If you want to compare both methods my main recomendation is to used cross-validation. The simpliest way to do it is to divide your training data in two sets, a training and a validation one. You can then train both models in the training set and evaluate the loss in the test set. A Gaussian process is able to represent any dataset with 0 error depeding of your parameters, thus a cross validation is needed to really be able know if the model is good enough to be generalized.
  4 个评论
Sara Hamdan
Sara Hamdan 2020-4-5
Ok it is more clear now, thank you so much
israt fatema
israt fatema 2022-4-28
How can i use other evaluation metrics (https://au.mathworks.com/help/stats/gaussian-process-regressionmodels.html?searchHighlight=gaussian%20process%20regression%20model&s_tid=srchtitle_gaussian%2520process%2520regression%2520model_1)
for Gaussian process regression model, i.e CRPS or prediction interval coverage probability (PICP)?

请先登录,再进行评论。

更多回答(1 个)

hichem tahraoui
hichem tahraoui 2020-7-25
Hello
if i understood, you want to know the amount of parameters that was used in SVM, you can use the code from matlab `` Quantity_of_support_vectors = size (model.SupportVectors, 1) ''
on the other hand in the Gaussian process, I did not find how to obtain the number of parameters. it's always the same problem

类别

Help CenterFile Exchange 中查找有关 Regression 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by