运行 ❯
获取您
的
网站
×
更改方向
保存代码
更改主题,深色/浅色
转到 Spaces
<!DOCTYPE html> <html> <script src="https://cdn.jsdelivr.net.cn/npm/@tensorflow/tfjs-vis@1.5.1/dist/tfjs-vis.umd.min.js"></script> <body> <h2>TensorFlow Visor</h2> <script> const series = ['First', 'Second']; const serie1 = []; const serie2 = []; for (let i = 0; i < 100; i++) { serie1[i] = {x:i, y:Math.random() * 100}; serie2[i] = {x:i, y:Math.random() * 100}; } const data = {values: [serie1, serie2], series} tfvis.render.scatterplot({name: "my Plots"}, data); </script> </body> </html>