my sample code is
load inputdata14; load target14; numHiddenNeurons = 30; net1 = newpr(inputdata14,target14,numHiddenNeurons); net1.divideParam.trainRatio = 70/100; % Ratio of data to be used to train the network. Adjust as desired net1.divideParam.valRatio = 15/100; % Ratio of data to be used to validate the network. Adjust as desired net1.divideParam.testRatio = 15/100; % Ratio of data to be used to test the network. Adjust as desired [net1,tr] = train(net1,inputdata14,target14); outputs = sim(net1,inputdata14);
i am getting plots like this
is that confusion matrix is correct? or i need to some more dataset to train network? and when to stop training and how can i decide plots are giving correct result? i don't understand how to analyse the plots please anyone help ASAP… thank you
Best Answer