how can i calculate the test data MSE in case of ANN
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Define Shallow Neural Network Architectures finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!