parent b070bb3bc2
commit 7ec7ba4b64
  1. BIN
      __pycache__/run.cpython-38.pyc
  2. 6
      frontend/src/components/FeatureSpaceDetail.vue

Binary file not shown.

@ -179,7 +179,6 @@ export default {
newVal = newVal / listofNodes.length newVal = newVal / listofNodes.length
outcome = oldVal - newVal outcome = oldVal - newVal
pushEach.push({keyIns: featureNames[(index)*numberOfTransformations+1], valueIns: outcome}) pushEach.push({keyIns: featureNames[(index)*numberOfTransformations+1], valueIns: outcome})
console.log(pushEach)
var transf3 = element.transf3 var transf3 = element.transf3
corrMatrixCombTotalLoc.push(Object.values(JSON.parse(transf3[10+quadrantNumberLocal]))[0] * 100) corrMatrixCombTotalLoc.push(Object.values(JSON.parse(transf3[10+quadrantNumberLocal]))[0] * 100)
MIRemainingLoc.push(JSON.parse(transf3[20+quadrantNumberLocal])) MIRemainingLoc.push(JSON.parse(transf3[20+quadrantNumberLocal]))
@ -780,8 +779,9 @@ export default {
feature.value.forEach(function (element, indexIns) { feature.value.forEach(function (element, indexIns) {
if (element.valueIns > 0) { if (element.valueIns > 0) {
links.push({"source": index, "target": (index*feature.value.length+pushEachFinal.length+indexIns), "value": Math.abs(element.valueIns) * 30, "lin_color": "#33a02c"}) links.push({"source": index, "target": (index*feature.value.length+pushEachFinal.length+indexIns), "value": Math.abs(element.valueIns) * 30, "lin_color": "#33a02c"})
} } else if (element.valueIns == 0) {
else { links.push({"source": index, "target": (index*feature.value.length+pushEachFinal.length+indexIns), "value": 0.01 * 30, "lin_color": "#D3D3D3"})
} else {
links.push({"source": index, "target": (index*feature.value.length+pushEachFinal.length+indexIns), "value": Math.abs(element.valueIns) * 30, "lin_color": "#e31a1c"}) links.push({"source": index, "target": (index*feature.value.length+pushEachFinal.length+indexIns), "value": Math.abs(element.valueIns) * 30, "lin_color": "#e31a1c"})
} }
}) })

Loading…
Cancel
Save