- Train the GPR model on your data.
- Measure the performance of the model on a validation set
- For each predictor, create a copy of the validation set and randomly shuffle the values of the predictor. Measure the performance of the model on this shuffled validation set. The decrease in performance should be an indicator to the importance of the predictor.
Predictor importance for a GPR model
11 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello
I'm trying to use a GPR model (please see the code attached) and I'd like to calculate the predictors importance of my predictors.
The predictors and response variables are contained in the table dataTest, while dataTrain contain a dataset for new prediction, and the EF is my response variables. Can anyone give me an advise about how to calculate the predictor importance?
Thanks
Terenzio
0 comentarios
Respuestas (1)
Ayush Anand
el 21 de Oct. de 2023
Hi Terenzio,
I understand you are using a GPR model and trying to calculate predictor importance for your predictors. Gaussian Process Regression (GPR) models do not have a built-in method for estimating predictor importance directly, however, you can use techniques like permutation importance or partial dependence plots for the same:
1.Permutation Importance: This method involves randomly shuffling one predictor variable at a time and measuring the decrease in the model's performance. The idea is that if a predictor is important, randomly shuffling its values will drastically reduce the model's performance. Here's a basic outline for the same:
2. Partial Dependence Plots (PDPs): PDPs show the dependence between the target response and a set of target features, marginalizing over the values of all other features. In essence, it can help visualize the effect of a given predictor on the output of the model, keeping all other predictors constant. You can refer to the following page for more information on how to plot partial dependence plots in MATLAB: https://www.mathworks.com/help/stats/regressiontree.plotpartialdependence.html
You can also refer to this answer to understand more on how to estimate predictor importance for a Gaussian process regression model:
I hope this helps!
0 comentarios
Ver también
Categorías
Más información sobre Gaussian Process Regression en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!