how can i calculate the test data MSE in case of ANN
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Pattern Recognition and Classification en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!