Skip to content

Commit

Permalink
Changed how prediction error is calculated in output figure
Browse files Browse the repository at this point in the history
  • Loading branch information
cMadan committed Jun 28, 2016
1 parent 3429184 commit 342b74f
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -84,7 +84,7 @@ te_perf = prism_eval(te_y,fit)
% Fig A. Data vs. Prediction
figure; scatter(te_y,fit.pred); xlabel('Data'); ylabel('Prediction');
% Fig B. Data vs. Prediction Error
figure; scatter(te_y,te_y-fit.pred); xlabel('Data'); ylabel('Prediction Error');
figure; scatter(te_y,fit.pred-te_y); xlabel('Data'); ylabel('Prediction Error');
```

Expand Down
2 changes: 1 addition & 1 deletion demo/demo.m
Expand Up @@ -61,4 +61,4 @@
% Fig A. Data vs. Prediction
figure; scatter(te_y,fit.pred); xlabel('Data'); ylabel('Prediction');
% Fig B. Data vs. Prediction Error
figure; scatter(te_y,te_y-fit.pred); xlabel('Data'); ylabel('Prediction Error');
figure; scatter(te_y,fit.pred-te_y); xlabel('Data'); ylabel('Prediction Error');
Binary file modified docs/fig2_output.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified paper/fig2_output.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 342b74f

Please sign in to comment.