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 (30-Jan-2023 12:58:00) 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에 개발됨