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.
24 lines
464 B
24 lines
464 B
precision mediump float;
|
|
|
|
varying vec4 fragId;
|
|
varying vec2 vWeight;
|
|
|
|
uniform vec2 shape;
|
|
uniform vec4 pickOffset;
|
|
|
|
void main() {
|
|
vec2 d = step(.5, vWeight);
|
|
vec4 id = fragId + pickOffset;
|
|
id.x += d.x + d.y*shape.x;
|
|
|
|
id.y += floor(id.x / 256.0);
|
|
id.x -= floor(id.x / 256.0) * 256.0;
|
|
|
|
id.z += floor(id.y / 256.0);
|
|
id.y -= floor(id.y / 256.0) * 256.0;
|
|
|
|
id.w += floor(id.z / 256.0);
|
|
id.z -= floor(id.z / 256.0) * 256.0;
|
|
|
|
gl_FragColor = id/255.;
|
|
}
|
|
|