From a827280d580b48f803ed3eef8fc9ff2e5e1c51e8 Mon Sep 17 00:00:00 2001 From: Angelos Chatzimparmpas Date: Wed, 29 May 2019 09:04:20 +0200 Subject: [PATCH] renamed file Former-commit-id: 87d0bbab21d37b9797ada46efc5eb46f684f4dae --- data/iris.csv | 2 +- js/tsne_vis.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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 = [];