How can I calculate the error rate?

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일

0 개 추천

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.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Data Types에 대해 자세히 알아보기

태그

질문:

net
2013년 11월 29일

댓글:

net
2013년 11월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by