js/tsne_vis.js
// Compute the distances by applying the chosen distance functions and transformation functions.
Compute the distances by applying the chosen distance functions and transformation functions.
Compute the distances by applying the chosen distance functions and transformation functions .
function computeDistances(data, distFunc, transFunc) {
  dist = eval(distFunc)(eval(transFunc)(data));
  dist = normDist(data, dist);
  return dist;
}
function computeDistances ( data , distFunc , transFunc ) { dist = eval ( distFunc ) ( eval ( transFunc ) ( data ) ) ; dist = normDist ( data , dist ) ; return dist ; }
Compute the distances by applying the chosen distance functions and transformation functions.
Compute the distances by applying the chosen distance functions and transformation functions .