How to get MPE (Mean Percentage Error) with plsregress
Show older comments
I am trying to use plsregress to build model for prediction. Values I am trying to predict range from 10^-5 to 1. When I want to choose the best possible number of components for my model I tried to look at MSE (Mean Squared Error) but it's higly influenced how the model predicts bigger values. It would be more helpfull if I would be able to look at MPE (Mean Percentage Error) insted of MSE. This will let my choose a model that is best for the whole range of predicted values rather then leaning more to the big values.
Is it possible to get MPE without coding whole PLS and validation method from scratch?
Accepted Answer
More Answers (0)
Categories
Find more on Gaussian Process Regression in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!