- The height of bar in the Bar plot means how many data points are near the bin value.
- 0.001502 is selected error value based on bin number setup in histogram function (i.e. histogram(data,20)), it can be changed if you use different bin value. You can try bin number with 50 or 100.
- 0.001502 is the closest number to 0 among those bin numbers. Because error = 0 means the ourputs are close to the target, so model performance is good if the bin bars close to zero are taller than higher error numbers.
Please explain this histogram
3 次查看(过去 30 天)
显示 更早的评论
Hi
I'm using neural network matlab fitting tool
it's hard to understand error histogram with 20bins
what is bar means? the bar at error value 0.001502 is the best performance? if yes, please tell me why
and what is means zero error?
I attatched my graph. please reply ASAP.
Thank you.
0 个评论
回答(2 个)
Inho Kim
2019-12-5
Hi Nayoung,
Typically errors are calculated with L1 (abs(errors)) or L2 ((errors)^2) norms. Meaning that it cancels out signs from difference between target and output. The above bar graph doesn't have neither absolute or square for errors, it has negative errors which isn't typical. Nonetherless errors are close to zero meaning the output is close to target value, the NN models well.
Hope this helps you.
Best,
IK
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Get Started with Statistics and Machine Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!