2

I am comparing my trained model with other benchmark models with the error histogram but the axis of histogram is different for each method as shown in figureenter image description here.For instance to plot the error histogram of every method,I tried this code:

% Matlab code
Targets=Actual;
Outputs=Predicted_by_model;
errors=Targets-Outputs;
error_std=std(errors);
MAPE=mean(abs(Targets-Outputs)./Targets)*100;
histfit(errors);
legend('Proposed')
title(['MAPE = ' num2str(MAPE) '  ,    Error St.D. = ' num2str(error_std)]))

How to keep axis of every method to the same value.

Brian Spiering
  • 20,142
  • 2
  • 25
  • 102
Muhammad Ali
  • 2,437
  • 5
  • 19
  • 22

0 Answers0