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.
905 B
905 B
to-float32 
Dirty little helper to convert array to float32 array or return round remainder of converting to float32. Useful for sending data to webgl buffers.
let {float32, fract32} = require('to-float32')
let data = Array.from({length: 1024}, Math.random)
// create float32 data
let buffer = float(data)
// get float32 remainders
let fractBuffer = fract32(data)
// convert number to float32
let f32 = float32(0.1) // 0.10000000149011612
// get float32 number remainder
let rem32 = fract32(0.1) //
Fract data is Float32Array with values calculated as origValue - float32value
License
(c) 2017 Dmitry Yv. MIT License