BookmarkSubscribeRSS Feed
Kanyange
Fluorite | Level 6


Hi All,

I have built a logistic regression model on the training dataset, then score my validation dataset. I have calculated the Mean Absolute Percentage Error  between Actual and Predicted (Table below) Is there any rule to say if my MAPE is > 10% for example, the model doesn't generalize well, so need to improve the model or build a new one? I would like to set up a rule. Your help would be much appreciated,

Many Thanks

Decile GroupActualPredictedAbsolute MAPE
(Mean Absolute Percentage Error)
105886012%
94944971%
84724426%
74024030%
63923745%
53273476%
43033205%
33162976%
22672712%
12322424%
1 REPLY 1
SteveDenham
Jade | Level 19

Any rule is going to depend on the relative cost of making an error.  In some fields, an error >10% may be a good cutpoint, but in others, it may need to be substantially less.  Also, percentages are notorious for being scale dependent.  In your example, a deviation of 13 with a denominator of 588, leads to a percentage error of 2%.  However, suppose your model predicted a deviation of only 1.3 (much better), but the denominator was only 5.88.  Now the percentage error is 22%, even though the absolute prediction is a magnitude more precise.

That probably doesn't answer your question of HOW to set a cutpoint in EM, but it is something to consider when the question is put forward.

Steve Denham

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to choose a machine learning algorithm

Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1982 views
  • 0 likes
  • 2 in conversation