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.
25 lines
540 B
25 lines
540 B
'use strict'
|
|
|
|
var tape = require('tape')
|
|
var cleanPSLG = require('../clean-pslg')
|
|
var checkPSLG = require('./check-graph')
|
|
|
|
tape('collinear', function(t) {
|
|
|
|
for(var n=0; n<10; ++n) {
|
|
var points = []
|
|
var edges = []
|
|
for(var i=0; i<10; ++i) {
|
|
var x0 = Math.random()
|
|
var x1 = Math.random()
|
|
points.push([x0, 0], [x1, 0])
|
|
edges.push([2*i, 2*i+1])
|
|
}
|
|
cleanPSLG(points, edges)
|
|
console.log(points.length, edges.length)
|
|
console.log(points, edges)
|
|
checkPSLG(t, points, edges)
|
|
}
|
|
|
|
t.end()
|
|
})
|
|
|