fixed issue with a new data set loading

master
parent bacf959c09
commit 4ab1ace2e0
  1. 4
      js/tsne.js
  2. 0
      js/tsne_vis2.js

@ -187,8 +187,8 @@ var tsnejs = tsnejs || { REVISION: 'ALPHA' };
}
}
var results = d2p(dists, this.perplexity, 1e-4);
this.P = results[0];
this.beta = results[1];
this.P = results[0];
this.beta = results[1];
this.N = N;
this.initSolution(); // refresh this
},

Loading…
Cancel
Save