how can i calculate the test data MSE in case of ANN
2 ビュー (過去 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 件のコメント
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!