parent 8e4e0a8aa3
commit 1aa37efe7b
  1. 14
      frontend/src/components/Heatmap.vue

@ -71,6 +71,7 @@ export default {
svg.selectAll("*").remove();
var featureUni = JSON.parse(this.dataFI[0])
var featuresFinal = this.featureData[33]
var algorithms = []
algorithms.push("Univariate FS")
@ -129,14 +130,22 @@ export default {
values[j] = -3
}
else {
values[j] = -4
if (featuresFinal.includes(Features[i])) {
values[j] = -2
} else {
values[j] = -4
}
}
} else {
if (i == 0 || i == 1 || i == 2) {
values[j] = -3
}
else {
values[j] = -4
if (featuresFinal.includes(Features[i])) {
values[j] = -2
} else {
values[j] = -4
}
}
}
}
@ -311,7 +320,6 @@ export default {
d3.select('#colLabel_' + i).classed("hover", false);
})
.on("click", function(d, i) {
console.log(d)
colSortOrder = !colSortOrder;
sortByValues("c", i, colSortOrder);
d3.select("#order").property("selectedIndex", 3);

Loading…
Cancel
Save