Registry / Framework

framework · v0.1.0
ResidualWatch
Monitor prediction drift by detecting sustained upward or downward changes in errors against a frozen reference period.
Use ResidualWatch
use vendor::residualwatch::residualwatch;
Run the example
nest demo residualwatch@0.1.0
blyxc native-run residualwatch-demo/main.blyx
Example source and expected output
use vendor::residualwatch::residualwatch;
fn main() {
let reference = rw_fit([9, 10, 11], [10, 10, 10], 0.0);
let first = rw_step(rw_monitor(), reference, 12.0, 10.0, 0.5, 3.0);
let second = rw_step(first, reference, 12.0, 10.0, 0.5, 3.0);
println!(at(reference, 2));
println!(at(first, 2));
println!(at(second, 2));
}
Expected output
1
0
1
Published versions
| Version | Package | Source commit | SHA-256 |
|---|---|---|---|
| 0.1.0 | Download ZIP | 30b5901f56 | b06cea9839c9cfde0aeef263892125764790726dd9cbf2bffcf611c55a8e5eb9 |