how can i calculate the test data MSE in case of ANN

4 次查看(过去 30 天)
Hi there..... i used following code to train network .
Opts = detectImportOptions('annn.txt'); Data = readtable('annn.txt', Opts);
input = {'T', 'Wdi', 'S', 'R','W'}; i = Data(:, input);
p=table2array(i); % inputs are converted in to arraycell
respone=Data.kWm % target response
% net=feedforwardnet([n m]); n no of neurons in the first hidden layer AND m no of neurons in second hidden layer
net=feedforwardnet([5 10]); net.trainparam.epochs=14 %epoch net = configure(net, p', respone')
[net, info] = train(net, p',respone');
now i want to calculte the train and test mean square error MSE. by using formula can anybody help me please/ see attachment datafile

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Pattern Recognition and Classification 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by