examples/synthetic_data/index.js
async function start() {
  const numDimensions = 100;
  const numPoints = 10000;

  const data = generateData(numDimensions, numPoints);
  const coordinates = await computeEmbedding(data, numPoints);
  showEmbedding(coordinates);
}
async function start() {
  const numDimensions = 100;
  const numPoints = 10000;

  const data = generateData(numDimensions, numPoints);
  const coordinates = await computeEmbedding(data, numPoints);
  showEmbedding(coordinates);
}
async function start ( ) { const numDimensions = 100 ; const numPoints = 10000 ; const data = generateData ( numDimensions , numPoints ) ; const coordinates = await computeEmbedding ( data , numPoints ) ; showEmbedding ( coordinates ) ; }
Run the example
Run the example