Blyx Nest Blyx language
Registry / Framework
framework · v0.1.0

Conformal

Calibrate a regression interval from held-out errors and measure coverage on a separate test set.

Source repository · Package JSON

Use Conformal

use vendor::conformal::conformal;

Run the example

nest demo conformal@0.1.0
blyxc native-run conformal-demo/main.blyx
Example source and expected output
use vendor::conformal::conformal;
fn main() {
    let calibration = cf_calibrate([10, 12, 7, 11], [10, 10, 10, 10], 3, 5);
    let interval = cf_interval(20.0, at(calibration, 0));
    println!(at(calibration, 0));
    println!(at(interval, 0));
    println!(at(interval, 1));
}

Expected output

2
18
22

Published versions

VersionPackageSource commitSHA-256
0.1.0Download ZIP2e26e32a67f75e181c4a18e10ab5126f789e027db15aeda431793935587b43d091c898c146