Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

plotperform

Plot network performance

Syntax

plotperform(TR)

Description

plotperform(TR) plots error vs. epoch for the training, validation, and test performances of the training record TR returned by the function train.

Examples

Plot Performances

This example shows how to use plotperform to obtain a plot of training record error values against the number of training epochs.

[x,t] = house_dataset;
net = feedforwardnet(10);
[net,tr] = train(net,x,t);
plotperform(tr)

Generally, the error reduces after more epochs of training, but might start to increase on the validation data set as the network starts overfitting the training data. In the default setup, the training stops after six consecutive increases in validation error, and the best performance is taken from the epoch with the lowest validation error.

Introduced in R2008a

Was this topic helpful?