Clear Filters
Clear Filters

how to see training, validation and test regression lot in ANN

3 views (last 30 days)
how to see training, validation and test regression lot in ANN

Accepted Answer

Sam Chak
Sam Chak on 29 Nov 2023
Edited: Sam Chak on 29 Nov 2023
Here is an example using the plotregression() command.
x = 0:10;
targs1 = x.^2;
outs1 = targs1 + 7*randn(1, length(targs1));
outs2 = targs1 + 11*randn(1, length(targs1));
outs3 = targs1 + 13*randn(1, length(targs1));
outs4 = targs1 + 17*randn(1, length(targs1));
plotregression(targs1, outs1, 'Training', targs1, outs2, 'Validation', targs1, outs3, 'Test', targs1, outs4, 'All')
  2 Comments
Sunita
Sunita on 29 Nov 2023
Moved: Sam Chak on 29 Nov 2023
I am getting R-total plot from plotregression(T, Y) .
I need this (see attach)
Sam Chak
Sam Chak on 29 Nov 2023
Still using the plotregression() command. Take a look at the updated Answer. If you find the solution helpful, please consider clicking 'Accept' ✔ on the answer and voting 👍 for it. Thanks a bunch!

Sign in to comment.

More Answers (0)

Categories

Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!