(trainLogs)
| 23 | }; |
| 24 | |
| 25 | export async function plotLosses(trainLogs) { |
| 26 | return tfvis.show.history( |
| 27 | document.getElementById('plotLoss'), trainLogs, ['loss', 'val_loss'], { |
| 28 | width: 450, |
| 29 | height: 320, |
| 30 | xLabel: 'Epoch', |
| 31 | yLabel: 'Loss', |
| 32 | }); |
| 33 | } |
| 34 | |
| 35 | export async function plotAccuracies(trainLogs) { |
| 36 | tfvis.show.history( |
nothing calls this directly
no outgoing calls
no test coverage detected