Hauptinhalt

plottrainstate

Plotten von Trainingszustandswerten

Syntax

plottrainstate(tr)

Beschreibung

plottrainstate(tr) stellt den Trainingszustand aus einem Trainingsdatensatz tr dar, zurückgegeben von train.

Beispiele

alle reduzieren

Dieses Beispiel zeigt, wie man die Werte des Trainingszustands mithilfe von plottrainstate plottet.

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

Figure Neural Network Training (09-Aug-2025 13:42:36) contains an object of type uigridlayout.

plottrainstate(tr)

Figure Training State (plottrainstate) contains 3 axes objects. Axes object 1 with title Gradient = 62.2481, at epoch 15, ylabel gradient contains an object of type line. Axes object 2 with title Mu = 0.001, at epoch 15, ylabel mu contains an object of type line. Axes object 3 with title Validation Checks = 6, at epoch 15, xlabel 15 Epochs, ylabel val fail contains a line object which displays its values using only markers.

Versionsverlauf

Eingeführt in R2008a