Main Content

このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。

plottrainstate

学習状態値のプロット

構文

plottrainstate(tr)

説明

plottrainstate(tr) は、train によって返される学習記録 tr から得られた学習状態をプロットします。

すべて折りたたむ

この例では、plottrainstate を使用して学習状態値をプロットする方法を示します。

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

Figure Neural Network Training (27-Jul-2023 15:35:12) 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.

バージョン履歴

R2008a で導入