问题
I am very new in Matlab and that too in Neural network.. I have 4*81 input dataset and 1*81 output/target dataset. 'divideblock' or 'dividerand' randomly split the dataset into training, validation and testing.
My question is that... After training and simulation... how to trace the individual input dataset(training, testing, validation) which are used to train the network.
so that i can able to find the error of the input dataset for testing, validation individually..
thanks in advance for any suggestion...
回答1:
Use trainInd,valInd,testInd
:
[trainInd,valInd,testInd] = dividerand(Q,trainRatio,valRatio,testRatio);
see http://www.mathworks.com/help/toolbox/nnet/ref/dividerand.html .
来源:https://stackoverflow.com/questions/8712790/traing-dataset-validation-dataset-testing-dataset-in-matlab