Getting number of data points for training, validation and testing of neural network; showing the training and testing data of neural networks?
3 views (last 30 days)
Show older comments
Harshith Bhat
on 25 Dec 2017
Commented: Greg Heath
on 29 Jan 2018
I have analyzed the experiment data using DA, DD, SPEED, FEED as 'Input' and Thrust as 'target' by transposing the data given in Microsoft excel file using NNTOOL. I also have Included the related pictures regarding the network. Please tell me how to get number of data points for training, validation and testing of neural network;
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/168120/image.jpeg)
<<
<<
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/168122/image.jpeg)
>>
>>
showing the training and testing data of neural networks?
0 Comments
Accepted Answer
Neil Guertin
on 2 Jan 2018
nntool is an older tool and is not recommended. Use nnstart instead. From there you can get to the Neural Fitting app which has options for setting training, validation, and testing percentages, and will walk you through the rest of the neural network creation process.
4 Comments
Greg Heath
on 29 Jan 2018
[ net tr y e ] = train(net,x,t);
% y=net(x); e = t-y;
% To find the trn/val/tst indices view the training record tr, via
tr = tr % No semicolon
Hope this helps
Thank you for formally accepting my answer
Greg
More Answers (0)
See Also
Categories
Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!