StackGenVis: Alignment of Data, Algorithms, and Models for Stacking Ensemble Learning Using Performance Metrics
https://doi.org/10.1109/TVCG.2020.3030352
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
980 B
54 lines
980 B
import { Scatter } from '../BaseCharts';
|
|
export default {
|
|
extends: Scatter,
|
|
mounted: function mounted() {
|
|
this.renderChart({
|
|
datasets: [{
|
|
label: 'Scatter Dataset 1',
|
|
fill: false,
|
|
borderColor: '#f87979',
|
|
backgroundColor: '#f87979',
|
|
data: [{
|
|
x: -2,
|
|
y: 4
|
|
}, {
|
|
x: -1,
|
|
y: 1
|
|
}, {
|
|
x: 0,
|
|
y: 0
|
|
}, {
|
|
x: 1,
|
|
y: 1
|
|
}, {
|
|
x: 2,
|
|
y: 4
|
|
}]
|
|
}, {
|
|
label: 'Scatter Dataset 2',
|
|
fill: false,
|
|
borderColor: '#7acbf9',
|
|
backgroundColor: '#7acbf9',
|
|
data: [{
|
|
x: -2,
|
|
y: -4
|
|
}, {
|
|
x: -1,
|
|
y: -1
|
|
}, {
|
|
x: 0,
|
|
y: 1
|
|
}, {
|
|
x: 1,
|
|
y: -1
|
|
}, {
|
|
x: 2,
|
|
y: -4
|
|
}]
|
|
}]
|
|
}, {
|
|
responsive: true,
|
|
maintainAspectRatio: false
|
|
});
|
|
}
|
|
}; |