ANN performance using function

3 views (last 30 days)
Matt Egan
Matt Egan on 4 Mar 2021
Commented: Matt Egan on 11 Mar 2021
I have produced an ANN that is predicting power output of wind turbines based on inputs. I have foudn the below function on mathworks site:
perform(net,t,y)
I ahve incorporated this in my code and it returns a value. My questions is what exactly does the number mean/reate to? Is there an 'ideal' value for this (ie. closeest to 0 is desirable)
Thanks

Accepted Answer

Nagasai Bharat
Nagasai Bharat on 11 Mar 2021
Hi,
The value perform function returns network performance calculated according to the net.performFcn and net.performParam property values which would differ on the train function you have used. You could check for these property values and get the used error performance metric.
For example
[x,t] = simplefit_dataset;
net = feedforwardnet(20);
net = train(net,x,t);
y = net(x);
perf = perform(net,t,y)
net.performFcn
net.performParam
The above code would give mse as its error performance function

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!

Translated by