How can I extract metrics/data of the LSTM training progress ?

11 ビュー (過去 30 日間)
Pierre Guy
Pierre Guy 2019 年 10 月 10 日
コメント済み: Pierre Guy 2019 年 10 月 16 日
While monitoring a deep learning (LSTM) training progress, how can I extract the quantities data (Training root mean square error (RMSE) , Smoothed training accuracy, Validation accuracy, Training loss, smoothed training loss, and validation loss ) at each iteration ?( suppose you want to export these data to excel).
Indeed, while training a deep (LSTM) network in matab, '' when you specify 'training-progress' as the 'Plots' value in trainingOptions and start network training, trainNetwork creates a figure and displays training metrics at every iteration. Each iteration is an estimation of the gradient and an update of the network parameters. If you specify validation data in trainingOptions, then the figure shows validation metrics each time trainNetwork validates the network. The figure plots the following: Training root mean square error (RMSE) , Smoothed training accuracy, Validation accuracy, Training loss, smoothed training loss, and validation loss."
Thank you.
Best regards,

採用された回答

Jalaj Gambhir
Jalaj Gambhir 2019 年 10 月 14 日
Hi,
You can use
[net,info] = trainNetwork(XTrain,YTrain,layers,options);
while training a network, to access 'info' struct. This struct contains information such as 'TrainingLoss', 'TrainingRMSE' and 'BaseLearnRate' for each iteration of training. You can refer to the documentation for more information.
  1 件のコメント
Pierre Guy
Pierre Guy 2019 年 10 月 16 日
Thank you for your precious help.
Regards,

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Data Workflows についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by