diff --git a/data/iris.csv b/data/iris.csv index 7456e9f..0862df1 100755 --- a/data/iris.csv +++ b/data/iris.csv @@ -1,4 +1,4 @@ -"sepal_length","sepal_width","petal_length","petal_width","Species*" +"sepal_l","sepal_w","petal_l","petal_w","Species*" 5.1,3.5,1.4,0.2,Iris-setosa 4.9,3.0,1.4,0.2,Iris-setosa 4.7,3.2,1.3,0.2,Iris-setosa diff --git a/js/tsne_vis.js b/js/tsne_vis.js index 2a1cef0..3ca3609 100755 --- a/js/tsne_vis.js +++ b/js/tsne_vis.js @@ -2539,6 +2539,8 @@ if (points.length) { // If points exist (at least 1 point) FeaturesSelectedPoints.push(ArrayContainsDataFeaturesClearedwithoutNull[selectedPoints[i].id]); } + console.log(FeaturesSelectedPoints); + var vectors = PCA.getEigenVectors(FeaturesSelectedPoints); // Run a local PCA! var PCAResults = PCA.computeAdjustedData(FeaturesSelectedPoints,vectors[0]); // Get the results for individual dimension. var PCASelVec = [];