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.
27 lines
590 B
27 lines
590 B
4 years ago
|
'use strict'
|
||
|
|
||
|
var Scatter = require('./scatter')
|
||
|
var extend = require('object-assign')
|
||
|
|
||
|
module.exports = function (regl, options) {
|
||
|
var scatter = new Scatter(regl, options)
|
||
|
|
||
|
var render = scatter.render.bind(scatter)
|
||
|
|
||
|
// expose API
|
||
|
extend(render, {
|
||
|
render: render,
|
||
|
update: scatter.update.bind(scatter),
|
||
|
draw: scatter.draw.bind(scatter),
|
||
|
destroy: scatter.destroy.bind(scatter),
|
||
|
regl: scatter.regl,
|
||
|
gl: scatter.gl,
|
||
|
canvas: scatter.gl.canvas,
|
||
|
groups: scatter.groups,
|
||
|
markers: scatter.markerCache,
|
||
|
palette: scatter.palette
|
||
|
})
|
||
|
|
||
|
return render
|
||
|
}
|