Borrar filtros
Borrar filtros

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

2 visualizaciones (últimos 30 días)
Saba Yousaf
Saba Yousaf el 2 de Oct. de 2018
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

Respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by