MCPcopy Index your code
hub / github.com/tensorflow/tfjs-examples / plotSteps

Function plotSteps

cart-pole/ui.js:104–111  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102// Objects and function to support the plotting of game steps during training.
103let meanStepValues = [];
104function 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
113function disableModelControls() {
114 trainButton.textContent = 'Stop';

Callers 1

setUpUIFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected