MATLAB: I need to know the data used for training, validation and test in neural network

Deep Learning Toolboxneural networkneural networks

as I can extract the data that were used for training, validation and test, in a neural network ?
example, if you use 15 data I want to know which ones were used for each stage. please help me

Best Answer

[ net tr y e ] = train(net, x, t);
% y = net(x); e = t-y:
tr = tr % The training record will reveal the training information
Hope this helps.
Thank you for formally accepting my answer
Greg