diff --git a/Previously_Executed_Analyses_Files/Bank_Projection.txt.REMOVED.git-id b/Previously_Executed_Analyses_Files/Bank_Projection.txt.REMOVED.git-id new file mode 100644 index 0000000..d0e7b7d --- /dev/null +++ b/Previously_Executed_Analyses_Files/Bank_Projection.txt.REMOVED.git-id @@ -0,0 +1 @@ +81d53bd3ea5d0e6d1530763cf0cd9aa64467f9cc \ No newline at end of file diff --git a/css/style.css b/css/style.css index d5910d9..eea932a 100755 --- a/css/style.css +++ b/css/style.css @@ -425,4 +425,4 @@ ul { position: absolute; left: 5px; top: 5px; -} \ No newline at end of file +} diff --git a/data/bank-additional_s.csv b/data/bank-additional_s.csv index e7df0cc..1909b1f 100755 --- a/data/bank-additional_s.csv +++ b/data/bank-additional_s.csv @@ -1,4 +1,4 @@ -age;job;marital;education;default;housing;loan;contact;month;day_of_week;duration;campaign;pdays;previous;poutcome;emp.var.rate;cons.price.idx;cons.conf.idx;euribor3m;nr.employed;Outcome* +age;job;marital;education;default;housing;loan;contact;month;day_of_week;duration;campaign;pdays;previous;poutcome;emp.var.rate;cons.price.idx;cons.conf.idx;euribor3m;nr.employed;y* 30;blue-collar;married;basic.9y;no;yes;no;cellular;may;fri;487;2;999;0;nonexistent;-1.8;92.893;-46.2;1.313;5099.1;no 39;services;single;high.school;no;no;no;telephone;may;fri;346;4;999;0;nonexistent;1.1;93.994;-36.4;4.855;5191;no 25;services;married;high.school;no;yes;no;telephone;jun;wed;227;1;999;0;nonexistent;1.4;94.465;-41.8;4.962;5228.1;no diff --git a/js/tsne_vis.js b/js/tsne_vis.js index 8bc86fd..c5662a7 100755 --- a/js/tsne_vis.js +++ b/js/tsne_vis.js @@ -1587,11 +1587,11 @@ function CalculateCorrel(){ // Calculate the correlation is a function which has for (var j = 0; j < correlationResults.length; j++) { for (var i = 0; i < SignStore.length; i++) { if (SignStore[i][1]*(-1) == correlationResults[j][1]) { - correlationResults[j][1] = (correlationResults[j][1]).toFixed(2) * (-1); // Give the negative sign if needed and multiply by 100 + correlationResults[j][1] = (correlationResults[j][1]).toFixed(4) * (-1); // Give the negative sign if needed and multiply by 100 correlationResults[j].push(j); } if (SignStore[i][1] == correlationResults[j][1]) { - correlationResults[j][1] = (correlationResults[j][1]).toFixed(2); // Give a positive sign and multiply by 100 + correlationResults[j][1] = (correlationResults[j][1]).toFixed(4); // Give a positive sign and multiply by 100 correlationResults[j].push(j); } } @@ -2265,7 +2265,7 @@ if (points.length) { // If points exist (at least 1 point) margin: { l: 30, r: 30, - b: 20, + b: 25, t: 20, pad: 4 }, @@ -2346,7 +2346,7 @@ if (points.length) { // If points exist (at least 1 point) ////////////////////////////////////////////////////////////// //////////////////// Draw the Chart ////////////////////////// ////////////////////////////////////////////////////////////// - var colors = ['#8dd3c7','#ffffb3','#bebada','#fb8072','#80b1d3','#fdb462','#b3de69','#fccde5','#d9d9d9','#bc80bd']; // Colorscale for the starplot + var colors = ['#a6cee3','#1f78b4','#b2df8a','#33a02c','#fb9a99','#e31a1c','#fdbf6f','#ff7f00','#cab2d6']; // Colorscale for the starplot var colorScl = d3v3.scale.ordinal() .domain(IDS) .range(colors); diff --git a/modules/d3-star/d3-starPlot.js b/modules/d3-star/d3-starPlot.js index eb9c7b2..6424cf8 100755 --- a/modules/d3-star/d3-starPlot.js +++ b/modules/d3-star/d3-starPlot.js @@ -13,7 +13,7 @@ function RadarChart(id, data, color, IDS, options) { levels: 3, //How many levels or inner circles should there be drawn maxValue: 1, //What is the value that the biggest circle will represent labelFactor: 1.3, //How much farther than the radius of the outer circle should the labels be placed - wrapWidth: 60, //The number of pixels after which a label needs to be given a new line + wrapWidth: 100, //The number of pixels after which a label needs to be given a new line opacityArea: 0.35, //The opacity of the area of the blob dotRadius: 4, //The size of the colored circles of each blog opacityCircles: 0.1, //The opacity of the circles of each blob @@ -127,7 +127,7 @@ function RadarChart(id, data, color, IDS, options) { .attr("class", "legend") .style("font-size", "11px") .attr("text-anchor", "middle") - .attr("dy", "0.35em") + .attr("dy", "0em") .attr("x", function(d, i){ return rScale(maxValue * cfg.labelFactor) * Math.cos(angleSlice*i - Math.PI/2); }) .attr("y", function(d, i){ return rScale(maxValue * cfg.labelFactor) * Math.sin(angleSlice*i - Math.PI/2); }) .text(function(d){return d})