How can I calculate the error rate?

1 次查看(过去 30 天)
net
net 2013-11-29
评论: net 2013-11-29
Hi, I have two sets of variable. A is real world data and B is my predictions. The question is how can I calculate the error rate?
For example;
A=[30,25,46,20,18,12,...47]
B=[28,20,46,25,30,12,...44]

回答(1 个)

David Sanchez
David Sanchez 2013-11-29
error_rate = mean(A-B)
  1 个评论
net
net 2013-11-29
Thanks, for your help. It works great but also I need mathematical definition about it. I will more happy if you can give me links about the topic. I must give reference to use it.

请先登录,再进行评论。

类别

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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by