MCPcopy
hub / github.com/tensorflow/tfjs-examples / initVisualization

Function initVisualization

tsne-mnist-canvas/index.js:69–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67}
68
69async function initVisualization() {
70 canvas = d3.select('#vis')
71 .append('canvas')
72 .attr('width', width)
73 .attr('height', height);
74
75 context = canvas.node().getContext('2d');
76}
77
78
79async function start(numPoints = 10000, tsneIter, knnIter, perplexity) {

Callers 1

index.jsFile · 0.85

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected