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
717 B
25 lines
717 B
4 years ago
|
var getPixels = require('get-pixels')
|
||
|
var savePixels = require('save-pixels')
|
||
|
var tape = require('tape')
|
||
|
var dataURL = require('./image.json')
|
||
|
var processPixels = require('../lib/vtext').processPixels
|
||
|
var imshow = require('ndarray-imshow')
|
||
|
var fs = require('fs')
|
||
|
|
||
|
tape('image-test', function(t) {
|
||
|
getPixels(dataURL, function(err,data) {
|
||
|
var graph = processPixels(
|
||
|
data.pick(-1,-1,0).transpose(1,0),
|
||
|
{
|
||
|
triangles: true,
|
||
|
font: [
|
||
|
'"Open Sans", verdana, arial, sans-serif',
|
||
|
'"Open Sans", verdana, arial, sans-serif',
|
||
|
'"Open Sans", verdana, arial, sans-serif'
|
||
|
],
|
||
|
textAlign: 'left',
|
||
|
textBaseline: 'top'
|
||
|
}, 64)
|
||
|
t.end()
|
||
|
})
|
||
|
})
|