MCPcopy
hub / github.com/tensorflow/playground / updatePoints

Method updatePoints

src/heatmap.ts:145–150  ·  view source on GitHub ↗
(points: Example2D[])

Source from the content-addressed store, hash-verified

143 }
144
145 updatePoints(points: Example2D[]): void {
146 if (this.settings.noSvg) {
147 throw Error("Can't add points since noSvg=true");
148 }
149 this.updateCircles(this.svg.select("g.train"), points);
150 }
151
152 updateBackground(data: number[][], discretize: boolean): void {
153 let dx = data[0].length;

Callers 1

generateDataFunction · 0.80

Calls 1

updateCirclesMethod · 0.95

Tested by

no test coverage detected