ディープラーニングのグラフをエクセルに
Show older comments
ディープラーニングを行った結果の表をエクセルに起こしたいです。どのようにすればよろしいでしょうか?

Answers (1)
Naoya
on 18 Jan 2023
>> [net,info] = trainNetwork(...)
のように戻り値を 2つにして2つめの出力引数 info より数値として情報を取得できます。
Excel への書き込みについては、 writematrix などをご使用ください。
TrainingLoss = info.TrainingLoss;
TrainingAccuracy = info.TrainingAccuracy;
ValidationLoss = info.ValidationLoss;
ValidationAccuracy = info.ValidationAccuracy;
results = [TrainingLoss;
TrainingAccuracy;
ValidationLoss;
ValidationAccuracy];
writematrix(results,'results.xlsx')
Categories
Find more on Data Import from MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!