# How to understand R of the regresion plot in neural network training?

8 views (last 30 days)

Show older comments

##### 0 Comments

### Accepted Answer

ChristianW
on 26 Feb 2013

Edited: ChristianW
on 26 Feb 2013

y = sim(net,inputn);

r = regression(outputn,y); % r for every objective

R = regression(outputn(:)',y(:)'); % R from plot

or

r1_cc = corrcoef(outputn(1,:),y(1,:));

R_cc = corrcoef(outputn(:),y(:));

##### 3 Comments

ChristianW
on 26 Feb 2013

I'm sorry, used worng sim()-input, its inputn not input_train. I'll edit my answer.

### More Answers (0)

### See Also

### Categories

### Community Treasure Hunt

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

Start Hunting!