master
parent 9659322750
commit 6fbf3d3914
  1. BIN
      __pycache__/run.cpython-37.pyc
  2. 8
      frontend/package-lock.json
  3. 1
      frontend/src/components/AlgorithmHyperParam.vue
  4. 2
      frontend/src/components/Algorithms.vue
  5. 4
      frontend/src/components/Parameters.vue
  6. 54
      frontend/src/components/ScatterPlot.vue
  7. 1
      run.py

Binary file not shown.

@ -9242,7 +9242,7 @@
},
"dependencies": {
"d3": {
"version": "3.5.17",
"version": ,
"resolved": "https://registry.npmjs.org/d3/-/d3-3.5.17.tgz",
"integrity": "sha1-vEZ0gAQ3iyGjYMn8fPUjF5B2L7g="
}
@ -9374,7 +9374,7 @@
},
"dependencies": {
"d3": {
"version": "3.5.17",
"version": ,
"resolved": "https://registry.npmjs.org/d3/-/d3-3.5.17.tgz",
"integrity": "sha1-vEZ0gAQ3iyGjYMn8fPUjF5B2L7g="
}
@ -9432,7 +9432,7 @@
},
"dependencies": {
"d3": {
"version": "3.5.17",
"version": ,
"resolved": "https://registry.npmjs.org/d3/-/d3-3.5.17.tgz",
"integrity": "sha1-vEZ0gAQ3iyGjYMn8fPUjF5B2L7g="
}
@ -19774,7 +19774,7 @@
},
"dependencies": {
"d3": {
"version": "3.5.17",
"version": ,
"resolved": "https://registry.npmjs.org/d3/-/d3-3.5.17.tgz",
"integrity": "sha1-vEZ0gAQ3iyGjYMn8fPUjF5B2L7g="
}

@ -93,6 +93,7 @@ export default {
// reset view
EventBus.$on('resetViews', this.reset)
EventBus.$on('clearPCP', this.reset)
}
}
</script>

@ -129,6 +129,8 @@ export default {
overall[0].ondblclick = function () {
flagEmptyKNN = 0
flagEmptyRF = 0
EventBus.$emit('clearPCP')
EventBus.$emit('alternateFlagLock', flagEmptyKNN)
EventBus.$emit('alternateFlagLock', flagEmptyKNN)
}

@ -171,6 +171,10 @@ export default {
criterion = 100
}
if (this.FlagKNN == 0 && this.FlagRF == 0) {
this.storeActiveModels = []
}
if (this.storeActiveModels.length != 0) {
var countkNNRelated = []
var countRFRelated = []

@ -115,8 +115,19 @@ export default {
EventBus.$emit('NewHeatmapAccordingtoNewStack', StackModelsIDs)
}
var DataGeneral
var maxX
var minX
var maxY
var minY
var layout
if (this.representationDef == 'mds') {
maxX = Math.max(MDSData[0])
minX = Math.min(MDSData[0])
maxY = Math.max(MDSData[1])
minY = Math.max(MDSData[1])
DataGeneral = [{
type: 'scatter',
mode: 'markers',
@ -143,10 +154,12 @@ export default {
layout = {
title: 'Models Performance (MDS)',
xaxis: {
visible: false
visible: false,
range: [minX, maxX]
},
yaxis: {
visible: false
visible: false,
range: [minY, maxY]
},
autosize: true,
width: width,
@ -168,6 +181,11 @@ export default {
return r;
}, {})
maxX = Math.max(result.Xax)
minX = Math.min(result.Xax)
maxY = Math.max(result.Yax)
minY = Math.max(result.Yax)
DataGeneral = [{
type: 'scatter',
mode: 'markers',
@ -190,10 +208,12 @@ export default {
layout = {
title: 'Models Performance (t-SNE)',
xaxis: {
visible: false
visible: false,
range: [minX, maxX]
},
yaxis: {
visible: false
visible: false,
range: [minY, maxY]
},
dragmode: 'lasso',
hovermode: "closest",
@ -242,8 +262,19 @@ export default {
this.ScatterPlotView()
},
animate() {
var maxX
var minX
var maxY
var minY
var colorsforScatterPlot = JSON.parse(this.DataPointsSelUpdate[0])
var MDSData = JSON.parse(this.DataPointsSelUpdate[1])
maxX = Math.max(MDSData[0])
minX = Math.min(MDSData[0])
maxY = Math.max(MDSData[1])
minY = Math.max(MDSData[1])
Plotly.animate('OverviewPlotly', {
data: [
{x: MDSData[0], y: MDSData[1],marker: {
@ -251,14 +282,23 @@ export default {
}}
],
traces: [0],
layout: {}
layout: {
xaxis: {
visible: false,
range: [minX, maxX]
},
yaxis: {
visible: false,
range: [minY, maxY]
},
}
}, {
transition: {
duration: 1000,
duration: 3000,
easing: 'cubic-in-out'
},
frame: {
duration: 1000
duration: 3000
}
})
}

@ -1139,7 +1139,6 @@ def RetrieveSelDataPoints():
ModelSpaceMDSNewSel = FunMDS(df_concatMetrics)
ModelSpaceMDSNewSelComb = [list(a) for a in zip(ModelSpaceMDSNewSel[0], ModelSpaceMDSNewSel[1])]
global mt2xFinal
mt2xFinal = []
mtx1, mtx2, disparity = procrustes(ModelSpaceMDSNewComb, ModelSpaceMDSNewSelComb)

Loading…
Cancel
Save