()
| 102 | // Objects and function to support the plotting of game steps during training. |
| 103 | let meanStepValues = []; |
| 104 | function plotSteps() { |
| 105 | tfvis.render.linechart(stepsContainer, {values: meanStepValues}, { |
| 106 | xLabel: 'Training Iteration', |
| 107 | yLabel: 'Mean Steps Per Game', |
| 108 | width: 400, |
| 109 | height: 300, |
| 110 | }); |
| 111 | } |
| 112 | |
| 113 | function disableModelControls() { |
| 114 | trainButton.textContent = 'Stop'; |