DriftCapture · function
stabilityScore
The upstream's stability score: the share of the pixels above threshold − offset that are also
above threshold + offset — one over the other of the mask thresholded high and thresholded low,
since one always lies inside the other. A mask with no pixel above the lower threshold scores
NaN, as the upstream's does.
Explained in DriftCapture.
function stabilityScore(logits: Float32Array, threshold: number, offset: number): numberimport { stabilityScore } from '@driftengine/capture';Parameters
| Parameter | Type | Description |
|---|---|---|
logits | Float32Array | |
threshold | number | |
offset | number |