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.
15 lines
357 B
15 lines
357 B
var graphToPolygons = require("../pg2pl")
|
|
|
|
var edges = []
|
|
var positions = []
|
|
|
|
for(var i=1; i<=3; ++i) {
|
|
var v0 = positions.length
|
|
for(var j=0; j<10; ++j) {
|
|
var theta = 2.0 * Math.PI * j / 10
|
|
positions.push([ i * Math.cos(theta), i * Math.sin(theta) ])
|
|
edges.push([ v0+j, v0+((j+1)%10) ])
|
|
}
|
|
}
|
|
|
|
console.log(graphToPolygons(edges, positions)) |